File tree Expand file tree Collapse file tree
java/ar/com/nanotaboada/java/samples/spring/boot/controllers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ The following is a simplified dependency diagram of modules and main libraries:
2121## Documentation
2222
2323``` console
24- http://localhost:9000/swagger-ui /index.html
24+ http://localhost:9000/swagger/index.html
2525```
2626
2727![ API Documentation] ( java.samples.spring.boot-swagger.png )
Original file line number Diff line number Diff line change 2929import ar .com .nanotaboada .java .samples .spring .boot .services .BooksService ;
3030
3131@ RestController
32- @ Tag (name = "Books" , description = "CRUD operations for books" )
32+ @ Tag (name = "Books" )
3333@ OpenAPIDefinition (
3434 info = @ Info (
3535 title = "java.samples.spring.boot" ,
3636 version = "1.0" ,
3737 description = "🧪 Proof of Concept for a RESTful Web Service made with JDK 21 (LTS) and Spring Boot 3" ,
3838 contact = @ Contact (
39- name = "Github " ,
39+ name = "GitHub " ,
4040 url = "https://github.com/nanotaboada/java.samples.spring.boot"
4141 ),
4242 license = @ License (
Original file line number Diff line number Diff line change @@ -9,4 +9,7 @@ management.endpoint.health.show-details=always
99# http://localhost:9001/actuator/info
1010management.info.env.enabled =true
1111info.app.name =Sample RESTful Web Service with Spring Boot
12- info.app.description =Proof of Concept for a RESTful Web Service made with Spring Boot 3 targeting JDK 21
12+ info.app.description =Proof of Concept for a RESTful Web Service made with Spring Boot 3 targeting JDK 21
13+
14+ springdoc.api-docs.path =/docs
15+ springdoc.swagger-ui.path =/swagger/index.html
You can’t perform that action at this time.
0 commit comments