File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,8 @@ https://marco.dev/deploy-java-angular-one
88And a demo of the installation in this video:
99https://youtu.be/xCNCCZLvd0Y
1010
11+ To the basic example I added some 'showcase' extra features:
12+ - Test with MockMvc
13+ - Test with RestTemplateTest
14+ - OpenApi using Spring Doc (code first). Swagger-ui is accessible here: http://localhost:8080/swagger-ui
15+
Original file line number Diff line number Diff line change 3131 <groupId >org.springframework.boot</groupId >
3232 <artifactId >spring-boot-starter-test</artifactId >
3333 </dependency >
34+
35+ <!-- This is used to document the API -->
36+ <dependency >
37+ <groupId >org.springdoc</groupId >
38+ <artifactId >springdoc-openapi-ui</artifactId >
39+ <version >1.5.13</version >
40+ </dependency >
3441 </dependencies >
3542
43+
3644 <build >
3745 <plugins >
3846 <plugin >
Original file line number Diff line number Diff line change 11# url of the development frontend
2- app.dev.frontend.local =http://localhost:4200
2+ app.dev.frontend.local =http://localhost:4200
3+
4+ # swagger-ui custom path, this is the default path. I added the property only for show case
5+ springdoc.swagger-ui.path =/swagger-ui.html
You can’t perform that action at this time.
0 commit comments