Merge pull request 'added open api and readme.dm for general documentation.' (#2) from openapi into main
Reviewed-on: binarygolem/stktrk#2
This commit is contained in:
commit
0575164236
5
pom.xml
5
pom.xml
@ -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
16
readme.md
Normal 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user