swagger-core icon indicating copy to clipboard operation
swagger-core copied to clipboard

Set parameter schema base on schema or array of the @Parameter annotation

Open coder-hugo opened this issue 1 year ago • 1 comments

The current implementation ignores the content of schema and array of the @Parameter annotation, when generating the schema for a parameter. So it's impossible to specify the allowed values for a parameter of type String by using an enum. This PR will fix this.

coder-hugo avatar Apr 30 '24 09:04 coder-hugo