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.0.0 info: title: Hello world swagger version: 1.0.0 description: Hello world swagger description paths: /: post: responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/String' parameters: [] requestBody: content: multipart/form-data: schema: type: object properties: file2: type: array items: type: string format: binary maxItems: 2 required: true components: schemas: Object: type: object example: {} Boolean: type: boolean example: true Number: type: number example: 1 String: type: string example: string Function: type: string example: Function Undefined: type: string example: undefined security: [] tags: []
Swagger-UI configuration options:
SwaggerUIBundle({ spec: {"openapi":"3.0.0","info":{"title":"Hello world swagger","version":"1.0.0","description":"Hello world swagger description"},"paths":{"/":{"post":{"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/String"}}}}},"parameters":[],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file2":{"type":"array","items":{"type":"string","format":"binary"},"maxItems":2}}}}},"required":true}}}},"components":{"schemas":{"Object":{"type":"object","example":{}},"Boolean":{"type":"boolean","example":true},"Number":{"type":"number","example":1},"String":{"type":"string","example":"string"},"Function":{"type":"string","example":"Function"},"Undefined":{"type":"string","example":"undefined"}}},"security":[],"tags":[]}, dom_id: '#swagger-ui', deepLinking: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: "StandaloneLayout", displayRequestDuration: false, filter: false, tryItOutEnabled: false, });
?yourQueryStringConfig - ??
Steps to reproduce the behavior:
The swagger UI should not allow adding more than 2 files with this YML specification
I have found this issue #6327 and it is closed when this PR was merged - #6878. But this doesn't seem to work, don't know why?
The text was updated successfully, but these errors were encountered:
Anyone can please look into this issue? This was opened 5 days ago
Sorry, something went wrong.
Hello y'all,
I will look into it
hello @twjasa , do you still working on this? if not I want to try work on this
Hey @retry19 go ahead. I dont have too much time in my hands.
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
To reproduce...
Steps to reproduce the behavior:
Expected behavior
The swagger UI should not allow adding more than 2 files with this YML specification
Screenshots
Additional context or thoughts
I have found this issue #6327 and it is closed when this PR was merged - #6878. But this doesn't seem to work, don't know why?
The text was updated successfully, but these errors were encountered: