Skip to content

Numeric string are converting as String in the generated swagger json file #162

@itsmykairos

Description

@itsmykairos

I could see that the numeric strings are getting converted to numbers in the generated swagger file. Looks like its similar to springfox/springfox#2249

openapi-gradle-plugin = 1.9.0
springboot = 3.4.3

output in the swagger json:

"value":{
  "type": "string",
  "description": "the string value for ID",
  "example": 56000
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions