Skip to content
This repository was archived by the owner on Mar 14, 2021. It is now read-only.

Commit a9294d8

Browse files
committed
improved docs
1 parent 7cd66b8 commit a9294d8

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
1-
# openapi-processor-spring sample project
1+
# openapi-processor-spring (mvc) sample project
22

3-
This is a simple Spring Boot project that is using
3+
This is a simple Spring Boot (gradle) project that is using
44
* [openapi-processor-spring][oap-spring] to
5-
generate java interfaces for the api defined in an openapi.yaml file and
6-
* the [openapi-processor-json][oap-json] to convert the openapi yaml to json format.
5+
generate java interfaces for the api defined in an openapi.yaml file
6+
* the [openapi-processor-json][oap-json] to convert the openapi yaml to json format
7+
* and the [openapi-processor-gradle plugin][oap-gradle] to run both processors.
78

9+
The purpose of the sample is to show the setup of the gradle plugin and the processors.
810

9-
The sample is based on gradle and uses the [openapi-processor-gradle plugin][oap-gradle].
11+
## Endpoints
12+
13+
the sample has a few simple endpoints described with OpenAPI in `src/api`.
14+
15+
### ping
16+
17+
curl http://localhost:8080/ping
18+
19+
### echo
20+
21+
curl http://localhost:8080/echo?source=foo
1022

1123
[oap-spring]: https://hauner.github.io/openapi-processor-spring/
1224
[oap-json]: https://hauner.github.io/openapi-processor-json/

0 commit comments

Comments
 (0)