Coding Global Background
Coding Global

Openapi Spring

Archived 3 years ago
1 messages
1 members
3 years ago
Open in Discord
G
Ali

Hello guys, i want to use openapi with spring. I added this dependency in my pom: <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> <version>2.1.0</version> </dependency> After that i can go to localhost:8080/v3/api-docs and view the JSON with all my endpoints. But i want to create the openapi.yaml file automatically without visit this URL. I want that when i start my Application the openapi.yaml File is stored in my Backend. How can i do this?

Replies (1)