Spring Webflux Swagger UI and Open API 3 API specifications
2 min readJul 23, 2020
If not a medium member, try using the link here to view it for free.
Agenda
The main requirement is generating the Open API 3 specifications for the spring boot webflux based APIs and exposing the same using the swagger UI.
Prerequisites
- Spring boot, Java, and webflux knowledge.
- Basic knowledge of the API specification.
Maven Dependencies
The pom.xml for the dependencies is shared as a gist below, the most important parts are:-
We will use the springdoc for OpenAPI support of configuration, annotations etc..
Code Part
Configuration. The gist is shared below —