From d7a9c21878e1fc90a4eaec762ca22d289ef8b52e Mon Sep 17 00:00:00 2001 From: Martin Rademacher Date: Thu, 2 May 2024 16:11:26 +1200 Subject: [PATCH] Switch annotation/attribute tab order to make showing attributes the default (#1587) --- .../.vitepress/theme/components/Codeblock.vue | 6 +++--- docs/guide/cookbook.md | 10 ++++----- docs/guide/required-elements.md | 10 ++++----- docs/index.md | 10 ++++----- docs/snippets/example_annotations.php | 21 ------------------- .../guide/cookbook/default_security_an.php | 2 +- docs/snippets/minimal_api_at.php | 4 ---- 7 files changed, 19 insertions(+), 44 deletions(-) delete mode 100644 docs/snippets/example_annotations.php diff --git a/docs/.vitepress/theme/components/Codeblock.vue b/docs/.vitepress/theme/components/Codeblock.vue index bec5d06e0..0e7b13162 100644 --- a/docs/.vitepress/theme/components/Codeblock.vue +++ b/docs/.vitepress/theme/components/Codeblock.vue @@ -1,12 +1,12 @@ diff --git a/docs/guide/cookbook.md b/docs/guide/cookbook.md index 8c3b26fe8..cd722a95b 100644 --- a/docs/guide/cookbook.md +++ b/docs/guide/cookbook.md @@ -278,17 +278,17 @@ Form posts are `@OA\Post` requests with a `multipart/form-data` `@OA\RequestBody Unless specified each endpoint needs to declare what security schemes it supports. However, there is a way to also configure security schemes globally for the whole API. -This is done on the `@OA\OpenApi` annotations: +This is done on the `@OA\OpenApi` annotation: -