You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Swagger generated for parameters with a type of integer are surrounded with quotes, when they should not be. This results in errors when attempting to use the Swagger in the editor, the Swagger Import tool for AWS, etc.
Example:
@QueryParam("page") @DefaultValue("1") @ApiParam(value = "Page to be returned") Integer page
generates
parameters:
- name: page
in: query
description: 'Page to be returned'
type: integer
default: "1"
format: int32
the default should be without quotes:
parameters:
- name: page
in: query
description: 'Page to be returned'
type: integer
default: 1
format: int32
The text was updated successfully, but these errors were encountered:
The Swagger generated for parameters with a type of integer are surrounded with quotes, when they should not be. This results in errors when attempting to use the Swagger in the editor, the Swagger Import tool for AWS, etc.
Example:
@QueryParam("page") @DefaultValue("1") @ApiParam(value = "Page to be returned") Integer page
generates
the default should be without quotes:
The text was updated successfully, but these errors were encountered: