springdoc-openapi-gradle-plugin icon indicating copy to clipboard operation
springdoc-openapi-gradle-plugin copied to clipboard

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

Open itsmykairos opened this issue 8 months ago • 0 comments

I could see that the numeric strings are getting converted to numbers in the generated swagger file. Looks like its similar to https://github.com/springfox/springfox/issues/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
}

itsmykairos avatar Mar 20 '25 23:03 itsmykairos