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
Reproducable with petstore.swagger
Why all properties are presented in an array even if they are not an array?
"ApiResponse": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "type": { "type": "string" }, "message": { "type": "string" } } },
const express = require("express"); const pathToSwaggerUi = require("swagger-ui-dist").absolutePath(); const app = express(); app.use(express.static(pathToSwaggerUi)); app.listen(3000);
Go to localhost:3000 and look at one model
model
Expect to have properties not wrapped in an array
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Q&A (please complete the following information)
Content & configuration
Reproducable with petstore.swagger
Describe the bug you're encountering
Why all properties are presented in an array even if they are not an array?
To reproduce...
Go to localhost:3000 and look at one
model
Expected behavior
Expect to have properties not wrapped in an array
Screenshots
The text was updated successfully, but these errors were encountered: