-
Notifications
You must be signed in to change notification settings - Fork 9.3k
OpenApi 3.0: format not show in query parameters #5128
Copy link
Copy link
Closed
Description
Hi.
I have issue with displaying format of query parameters.
In openapi 3.0 the format of parameters is inside schema tag.
openapi 3.0.1 sample of query parameter:
{
"name": "contractId",
"in": "query",
"description": "Query parameter for contractId.",
"schema": {
"type": "integer",
"format": "int64"
}
}
swagger 2.0 sample of query parameter:
{
"name": "contractId",
"in": "query",
"description": "Query parameter for contractId.",
"required": false,
"type": "integer",
"format": "int64"
},
display of query parameter:

expected behavior:

Q&A (please complete the following information)
- OS: windows
- Browser: chrome
- Version: 70
- Method of installation: dist
- Swagger-UI version: 3.20.5
- OpenAPI version: OpenAPI 3.0.1
Reactions are currently unavailable