swagger-core
swagger-core copied to clipboard
Set parameter schema base on schema or array of the @Parameter annotation
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.