GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — open api · AsmaStack/java-angular-basic@3a41ceb

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
  • backend
    • pom.xml
    • src/main/java
      • application.properties
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ https://marco.dev/deploy-java-angular-one
88
And a demo of the installation in this video:
99
https://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+
Collapse file

‎backend/pom.xml‎

Copy file name to clipboardExpand all lines: backend/pom.xml
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,16 @@
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>
Collapse file

‎backend/src/main/java/application.properties‎

Copy file name to clipboard
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
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

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.