Skip to content

Commit 146c615

Browse files
committed
samples update
1 parent 7e877df commit 146c615

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

demo-person-service/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,12 @@
22

33
- [DZone Part1](https://dzone.com/articles/openapi-3-documentation-with-spring-boot)
44
- [DZone Part2](https://dzone.com/articles/doing-more-with-springdoc-openapi)
5+
6+
7+
### Building native image with GraalVM
8+
9+
To create a `native image`, Run the following command
10+
11+
```sh
12+
mvn -Pnative clean native:compile
13+
```

demo-person-service/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
<groupId>org.springdoc</groupId>
2222
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
2323
</dependency>
24+
<dependency>
25+
<groupId>org.springframework.boot</groupId>
26+
<artifactId>spring-boot-starter-validation</artifactId>
27+
</dependency>
2428
<dependency>
2529
<groupId>org.javamoney.moneta</groupId>
2630
<artifactId>moneta-core</artifactId>
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
springdoc.version=@springdoc.version@
2-
springdoc.api-docs.version=openapi_3_1
3-
server.forward-headers-strategy=framework
2+
springdoc.swagger-ui.use-root-path=true
3+
server.forward-headers-strategy=framework

0 commit comments

Comments
 (0)