We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example Swagger/OpenAPI definition:
openapi: "3.1.0" info: version: "0.0.1" title: "Swagger UI Webpack Setup" description: "Demonstrates Swagger UI" components: schemas: {} security: [] paths: /pets: get: responses: 200: description: "OK" content: application/json: schema: allOf: - oneOf: - type: object properties: oneOf1-p1: type: object properties: oneOf1-p1-p1: type: string oneOf1-p1-p2: type: object properties: oneOf1-p1-p2-p1: type: string oneOf1-p2: type: string - type: object properties: oneOf2-p1: type: string - anyOf: - type: object properties: anyOf1-p1: type: object properties: anyOf1-p1-p1: type: string anyOf1-p1-p2: type: object properties: anyOf1-p1-p2-p1: type: string anyOf1-p2: type: string - type: object properties: anyOf2-p1: type: object properties: anyOf2-p1-p1: type: string anyOf2-p2: type: string - type: object properties: p1: type: object properties: p1-p1: type: string p1-p2: type: object properties: p1-p2-p1: type: string p2: type: string tags: []
Swagger-UI configuration options:
SwaggerUI({ url: "./swagger-config.yaml", dom_id: "#swagger-ui", presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [], layout: "StandaloneLayout", docExpansion: "full", defaultModelExpandDepth: 100, defaultModelRendering: "model" })
For openapi 3.1 contracts, defaultModelsExpandDepth configuration is not applied to oneOf/anyOf/allOf
Steps to reproduce the behavior:
Expect expend depth config to also be applied to oneOf/anyOf schema
see in reproduce step
The text was updated successfully, but these errors were encountered:
fix(json-schema-2020-12): expand deeply all Schema Objects and comple…
0aed3bc
…x keywords (#9581) Refs #9508 Supersedes #9510 Co-authored-by: Julien Bourges <julien.bourges@actility.com>
Addressed in #9581
Sorry, something went wrong.
char0n
glowcloud
No branches or pull requests
Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
Swagger-UI configuration options:
Describe the bug you're encountering
For openapi 3.1 contracts, defaultModelsExpandDepth configuration is not applied to oneOf/anyOf/allOf
To reproduce...
Steps to reproduce the behavior:
Expected behavior
Expect expend depth config to also be applied to oneOf/anyOf schema
Screenshots
see in reproduce step
Additional context or thoughts
The text was updated successfully, but these errors were encountered: