Skip to content

OpenApi 3.0: format not show in query parameters #5128

@pipy007

Description

@pipy007

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:
image
expected behavior:
image

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions