mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 08:21:11 +00:00
doc: use examples/ring-{malli,spec}-swagger in doc/ring/openapi.md
This commit is contained in:
parent
f14808b8a3
commit
253f379fd0
1 changed files with 6 additions and 3 deletions
|
|
@ -5,8 +5,11 @@
|
|||
Reitit can generate [OpenAPI 3.1.0](https://spec.openapis.org/oas/v3.1.0)
|
||||
documentation. The feature works similarly to [Swagger documentation](swagger.md).
|
||||
|
||||
The [http-swagger](../../examples/http-swagger) and
|
||||
[ring-malli-swagger](../../examples/ring-malli-swagger) examples also
|
||||
The
|
||||
[ring-malli-swagger](../../examples/ring-malli-swagger)
|
||||
and
|
||||
[ring-spec-swagger](../../examples/ring-spec-swagger)
|
||||
examples also
|
||||
have OpenAPI documentation.
|
||||
|
||||
## OpenAPI data
|
||||
|
|
@ -51,7 +54,7 @@ that are not generated automatically by reitit.
|
|||
...}}]
|
||||
```
|
||||
|
||||
See [the http-swagger example](../../examples/http-swagger) for a
|
||||
See [the ring-malli-swagger example](../../examples/ring-malli-swagger) for
|
||||
working examples of `"securitySchemes"` and `"examples"`.
|
||||
|
||||
## OpenAPI spec
|
||||
|
|
|
|||
Loading…
Reference in a new issue