The @EnableSwagger2WebFlux annotation is the starting point for initiating SpringFox.
The Docket bean is initiated to create Swagger V2 documentation.
Using the apis() and paths() methods, we can specify where SpringFox shall look for API documentation.
Using the globalResponseMessage() method, we ask SpringFox not to add any default HTTP response codes to the API documentation, such as 401 and 403, which we don't currently use.
The api* variables that are used to configure the Docket bean with general information about the API are initialized from the property file using Spring @Value annotations. These are as follows: