Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #9923
Closed
Open
Issue created Jul 09, 2021 by Administrator@rootContributor

HTML2 generator outputs "undefined" DTOs

Created by: antonio-petricca

Hi, I am using Open API generator plugin 5.1.1.

I instrumented my projects to generate HTML2 documentation.

It works fine for all of them but one which, for the response DTOs, prints an undefined statement as for the attached snapshot:

image

I opened the browser debug console and I found the following error:

SyntaxError: Error resolving $ref pointer "http://localhost:7001/my-api/help#/components/schemas/NickNameTypeDTO". 
Token "components" does not exist.
    at Function.syntax (help:8110)
    at Pointer.resolve (help:7898)
    at $Ref.resolve (help:7901)
    at $Refs._resolve (help:7904)
    at dereference$Ref (help:7856)
    at help:7856
    at Array.forEach (<anonymous>)
    at crawl (help:7856)
    at help:7856
    at Array.forEach (<anonymous>)

How can I further investigate on the causes of that issue?

Thank you so much!

Assignee
Assign to
Time tracking