Skip to content

Commit d6a2141

Browse files
committed
chore: update default SpringDoc paths
1 parent 4397af2 commit d6a2141

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

src/main/java/ar/com/nanotaboada/java/samples/spring/boot/controllers/BooksController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
import 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(

src/main/resources/application.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ management.endpoint.health.show-details=always
99
# http://localhost:9001/actuator/info
1010
management.info.env.enabled=true
1111
info.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

0 commit comments

Comments
 (0)