Tutorial by Examples

Springfox defines a set default response messages that are applied to all API controllers by default. This includes e.g. 201 - Created and 204 - No Content, as well as several 40x responses. There might be cases, in which the default response messages don't apply for your API. You have to build-in p...
Get springfox into your application by using Maven or Gradle Create a new Docket bean in your application and configure it Document your API according to your needs Launch your application and see your achieved results #1 Getting springfox with Maven Add the dependencies for swagger2 and sw...

Page 1 of 1