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

Question: What is the correct format for listing multiple protocols?

Open who opened this issue 11 years ago • 2 comments

Currently, the @ApiOperation#protocols parameter accepts a string. How are multiple protocols represented? Is it protocols = "http,https" ?

who avatar Apr 22 '15 19:04 who

Yes, it should work on the develop_2.0 branch You can look at https://github.com/swagger-api/swagger-core/blob/develop_2.0/modules/swagger-jaxrs/src/main/java/com/wordnik/swagger/jaxrs/Reader.java#L191-L201

iushankin avatar Apr 23 '15 14:04 iushankin

This issue is related to #953

iushankin avatar Apr 27 '15 09:04 iushankin