How to create documentation for Rest API using springdoc-openapi

Publicado el: 03 abril 2022
en el canal de: Programming Tutorial
1,490
like

#CreateDocumentationForRest #documentationopen-api #open-apispringboot
You can download about this tutorial in my github (https://github.com/AminTurmudiYusup/n...)
How to create documentation for Rest API
Prerequisite
1. You have api which build using springboot
2. API already import to intellij IDEA
3. You have connection internet for download springdoc-openapi


Let's jump right in
1. add springdoc-openapi to pom.xml
2. reload project, for download openapi from maven central to your maven local
3. Setting up springdoc-openapi, add this in the appliaction.properties = springdoc.api-docs.path=/api-docs
3. to see documentation in swagger ui add this in the application.properties = springdoc.swagger-ui.path=/swagger-ui-custom.html
4. add some description to our api (open your controller)
5. run your api

Finish, happy learning and happy sharing !!!



Success, happy learning and happy sharing!!!


En esta página del sitio puede ver el video en línea How to create documentation for Rest API using springdoc-openapi de Duración hora minuto segunda en buena calidad , que subió el usuario Programming Tutorial 03 abril 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,490 veces y le gustó like a los espectadores. Disfruta viendo!