From 367d800e62576f266a778bfacee4751162ab735e Mon Sep 17 00:00:00 2001 From: Tual Maxime Date: Mon, 16 Oct 2023 18:32:41 +0200 Subject: [PATCH] Update openapi.md (#1798) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update openapi.md - Allow developers to avoid spending two hours of searching for the documentation which list the availables configurations behing openapi attribute * fix(core/openapi.md): wording Co-authored-by: Kévin Dunglas * fix(openapi.md): move explanation to appropriate section --------- Co-authored-by: Kévin Dunglas --- core/openapi.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/openapi.md b/core/openapi.md index f0a31576732..c21024da2c2 100644 --- a/core/openapi.md +++ b/core/openapi.md @@ -108,6 +108,9 @@ The impact on the swagger-ui is the following: ## Using the OpenAPI and Swagger Contexts Sometimes you may want to change the information included in your OpenAPI documentation. + +For the full list of available configurations, please refer to the [OpenAPI Specifications](https://spec.openapis.org/oas/latest.html). The current doc page only gives some examples but focuses mostly on the OpenAPI integration inside API Platform without telling you all you can pass into the attributes. + The following configuration will give you total control over your OpenAPI definitions: [codeSelector]