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
minItems
In the API request, if the attribute type is array and the attribute has a minItems constraint, the constraint is not rendered
array
Setup details:
Node: 14.16.0 NPM: 7.17.0 Bundler: vite 2.6.3 RapiDoc: 9.1.3 (from the CDN: https://unpkg.com/rapidoc@9.1.3/dist/rapidoc-min.js)
Example:
{ "components": {}, "info": { "title": "Example Schema", "version": "0.0.1" }, "openapi": "3.0.3", "paths": { "/api/v1/example": { "post": { "operationId": "v1_example", "description": "Example API", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "array_attribute": { "type": "array", "minItems": 10, "items": { "type": "object", "properties": { "id": { "type": "integer", "minimum": 20 } } } } } } } } } } } } }
The text was updated successfully, but these errors were encountered:
8822e9d
No branches or pull requests
In the API request, if the attribute type is
array
and the attribute has aminItems
constraint, the constraint is not renderedSetup details:
Node: 14.16.0
NPM: 7.17.0
Bundler: vite 2.6.3
RapiDoc: 9.1.3 (from the CDN: https://unpkg.com/rapidoc@9.1.3/dist/rapidoc-min.js)
Example:
Schema:
Screenshot:
The text was updated successfully, but these errors were encountered: