added open api and readme.dm for general documentation.

This commit is contained in:
Rasmus Neikes 2024-08-18 21:36:58 +02:00
parent bec71fe108
commit fbafbfe27b
3 changed files with 23 additions and 1 deletions

View File

@ -117,6 +117,11 @@
<artifactId>javax.annotation-api</artifactId> <artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version> <version>1.3.2</version>
</dependency> </dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.6.0</version>
</dependency>
</dependencies> </dependencies>
<build> <build>

16
readme.md Normal file
View File

@ -0,0 +1,16 @@
# stktrk.com repository
Might have to
- Build -> Build Project
- maven reload all projects
- generate sources
- mvn clean install
- To run
- mvn spring-boot:run
- in IntelliJ: Run Icon in `src/main/java/com/stktrk/app/AppApplication.java`
http://localhost:9090/swagger-ui/index.html#/app-application/sayHello
http://localhost:9090/hello?myName=Rasmus

View File

@ -1,2 +1,3 @@
spring.application.name=app spring.application.name=app
server.port=9090 server.port=9090
springdoc.swagger-ui.path=/swagger-ui.html