From 9a9b1a6cf1ab7304af0480b7def5de9c1b1595f9 Mon Sep 17 00:00:00 2001 From: Lars Olzem Date: Mon, 5 Jan 2026 13:47:37 +0000 Subject: [PATCH 1/2] Update security definitions for miscellaneous and worlds endpoints --- openapi/components/paths/miscellaneous.yaml | 2 ++ openapi/components/paths/worlds.yaml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/openapi/components/paths/miscellaneous.yaml b/openapi/components/paths/miscellaneous.yaml index de165449..cbb5beb4 100644 --- a/openapi/components/paths/miscellaneous.yaml +++ b/openapi/components/paths/miscellaneous.yaml @@ -79,6 +79,8 @@ paths: `require` is used to limit what Information Pushes should be included in the response. This is usually used in combination with `include`, and is an "all of" search. tags: - miscellaneous + security: + - authCookie: [] parameters: - $ref: ../parameters.yaml#/require - $ref: ../parameters.yaml#/include diff --git a/openapi/components/paths/worlds.yaml b/openapi/components/paths/worlds.yaml index 4bc13150..c31117a6 100644 --- a/openapi/components/paths/worlds.yaml +++ b/openapi/components/paths/worlds.yaml @@ -161,6 +161,7 @@ paths: Works unauthenticated but when so will always return `0` for certain fields. tags: - worlds + security: [] responses: "200": $ref: ../responses/worlds/WorldResponse.yaml @@ -211,8 +212,7 @@ paths: description: Return a worlds custom metadata. This is currently believed to be unused. Metadata can be set with `updateWorld` and can be any arbitrary object. tags: - worlds - security: - - authCookie: [] + security: [] responses: "200": $ref: ../responses/worlds/WorldMetadataResponse.yaml From e88314a5bd75f34345860d4a2e5c1ddc46cff77d Mon Sep 17 00:00:00 2001 From: Lars Olzem Date: Mon, 5 Jan 2026 13:53:18 +0000 Subject: [PATCH 2/2] Fix lint error --- openapi/components/paths/miscellaneous.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi/components/paths/miscellaneous.yaml b/openapi/components/paths/miscellaneous.yaml index cbb5beb4..82cd5201 100644 --- a/openapi/components/paths/miscellaneous.yaml +++ b/openapi/components/paths/miscellaneous.yaml @@ -79,11 +79,11 @@ paths: `require` is used to limit what Information Pushes should be included in the response. This is usually used in combination with `include`, and is an "all of" search. tags: - miscellaneous - security: - - authCookie: [] parameters: - $ref: ../parameters.yaml#/require - $ref: ../parameters.yaml#/include + security: + - authCookie: [] responses: "200": $ref: ../responses/system/InfoPushListResponse.yaml