From 253f379fd0590f3f07647a2f04dfb9866a27ddac Mon Sep 17 00:00:00 2001 From: Joel Kaasinen Date: Wed, 3 May 2023 17:12:15 +0300 Subject: [PATCH] doc: use examples/ring-{malli,spec}-swagger in doc/ring/openapi.md --- doc/ring/openapi.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/ring/openapi.md b/doc/ring/openapi.md index c5187095..0f7103ea 100644 --- a/doc/ring/openapi.md +++ b/doc/ring/openapi.md @@ -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