Skip to content

Commit

Permalink
provide an openapi specification
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickuhlmann committed Dec 25, 2023
1 parent 4a9f6b6 commit 8aef109
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cd backend
./mvnw spring-boot:run
```

The backend is accessible under port 8080. e. g. http://localhost:8080/events
The backend is accessible under port 8080. e. g. http://localhost:8080/events. You can view an OpenApi specification under http://localhost:8080/swagger-ui/index.html

## Build and run the frontend

Expand Down
6 changes: 6 additions & 0 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>

<build>
Expand Down

0 comments on commit 8aef109

Please sign in to comment.