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

POST with response entity status code

Open thegreatdao opened this issue 11 years ago • 3 comments

Hi,

I'm using swagger-jersey-jaxrs_2.10 vresion 1.3.12. My POST endpoints have response entities. Swagger ui display response class along with status 200, Is there a way to change status code to 201?

Thanks.

thegreatdao avatar May 25 '15 13:05 thegreatdao

@thegreatdao - the easiest to resolve it would be to upgrade to 1.5. There's a migration guide in the wiki, and also a full integration guide if you need it.

webron avatar May 26 '15 14:05 webron

@thegreatdao - have you had a chance to look into it?

webron avatar May 28 '15 15:05 webron

Hi, w are staying with 1.3 for now will migrate to 1.5 later.

You can close the issue.

Thanks,

thegreatdao avatar May 28 '15 16:05 thegreatdao