Skip to content
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

Multiple inheritance allOf: View problem. Inherited attributes shown on Swagger-Editor on Web, but not rendered on Swagger-Viewer #119

Open
thenexthudai opened this issue Jun 22, 2024 · 0 comments

Comments

@thenexthudai
Copy link

Provided that there is multi level extending model definitions via allOf such as BackOfficeUserTask extends TroubleTicket, iwhen you compare Swagger Editor vs Swagger-Viewer in VSCODE, expanding TroubleTicket.troubleTicketRelationship vs BackOfficeUserTask.troubleTicketRelationship

  • Under TroubleTicket.troubleTicketRelationship for the TroubleTicketSpecificationRef all inherited attributes @type, @basetype, href, etc. are visible
    • Under BackOfficeUserTask.troubleTicketRelationship where BackOfficeUserTask extends TroubleTicket for the TroubleTicketSpecificationRef ONLY id, name and relationshipType are visible.

DNext-BackOffice-Task-v1.0.0-swagger.yaml.zip

Swagger-Editor:
image

Swagger-Viewer VSCODE
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant