mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11:11 +00:00
19 lines
391 B
Markdown
19 lines
391 B
Markdown
|
|
# OpenAPI 3 feature showcase
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
```clj
|
||
|
|
> lein repl
|
||
|
|
(start)
|
||
|
|
```
|
||
|
|
|
||
|
|
- Swagger UI served at <http://localhost:3000/>
|
||
|
|
- Openapi spec served at <http://localhost:3000/openapi.json>
|
||
|
|
- See [src/example/server.clj](src/example/server.clj) for details
|
||
|
|
|
||
|
|
<img src="https://raw.githubusercontent.com/metosin/reitit/master/examples/openapi/openapi.png" />
|
||
|
|
|
||
|
|
## License
|
||
|
|
|
||
|
|
Copyright © 2023 Metosin Oy
|