-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML2 generator outputs "undefined" DTOs #9923
Labels
Comments
antonio-petricca
changed the title
[BUG] Description
HTML2 generator outputs "undefined" DTOs
Jul 9, 2021
Same her with openapi-generator-cli 5.2.0. The problem seem to be $refs inside of refs, e.g., # ...
responses:
'200':
description: Some description
content:
application/xml:
schema:
$ref: "#/components/schemas/Response"
# ...
components:
schemas:
Response:
type: object
description: Server response
properties:
UserInfo:
$ref: `"#/components/schemas/UserInfo"`
UserInfo:
type: object
description: Information about the user that submitted the request
properties:
username:
$ref: "#/components/schemas/username"
username:
type: string
example: admin
xml:
attribute: true
|
I have the same problem when I use openapi-generator-maven-plugin V 5.4.0 . |
0x7162
added a commit
to 0x7162/openapi-generator
that referenced
this issue
May 22, 2022
wing328
pushed a commit
that referenced
this issue
Jun 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
I opened the browser debug console and I found the following error:
How can I further investigate on the causes of that issue?
Thank you so much!
The text was updated successfully, but these errors were encountered: