From 01e3af8def6d7d174d0a2ab5b5ce7f71fadec719 Mon Sep 17 00:00:00 2001 From: kheiner Date: Thu, 12 Feb 2026 15:28:52 -0800 Subject: [PATCH 1/2] Fix path for OAuth endpoint in index.yaml --- openapi/index.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi/index.yaml b/openapi/index.yaml index 50d1b15..183c9e5 100644 --- a/openapi/index.yaml +++ b/openapi/index.yaml @@ -21,7 +21,7 @@ paths: $ref: paths/auth/login/index.yaml "/auth/logout": $ref: paths/auth/logout/index.yaml - "/auth/oauth": + "/auth": $ref: paths/auth/oauth/index.yaml "/auth/oauth/{provider}": $ref: paths/auth/oauth/_provider/index.yaml From 7b0efadb30af9420696b031fca9a6d818f98477a Mon Sep 17 00:00:00 2001 From: kheiner Date: Thu, 12 Feb 2026 15:30:46 -0800 Subject: [PATCH 2/2] Update 'data' type in oauth.yaml from array to object Changed 'data' type from array to object with properties for name, label, driver, and icon. --- openapi/paths/auth/oauth/oauth.yaml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/openapi/paths/auth/oauth/oauth.yaml b/openapi/paths/auth/oauth/oauth.yaml index 516cad3..49f51e8 100644 --- a/openapi/paths/auth/oauth/oauth.yaml +++ b/openapi/paths/auth/oauth/oauth.yaml @@ -15,12 +15,23 @@ responses: public: type: boolean data: - type: array - example: - - github - - facebook - items: - type: string + type: object + properties: + name: + type: string + example: google + label: + type: string + example: Google + driver: + type: string + example: openid + icon: + type: string + example: google +'401': +$ref: ../../../components/responses.yaml#/UnauthorizedError +x-codeSamples: '401': $ref: ../../../components/responses.yaml#/UnauthorizedError x-codeSamples: