-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge changes from v2.1.0-next.1 into main (#20)
- Loading branch information
Showing
66 changed files
with
2,003 additions
and
1,790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## yaml-language-server: $schema=https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.yaml#/$defs/path-item | ||
|
||
# POST /auth/token | ||
|
||
post: | ||
operationId: GoogleToken | ||
summary: Processes JSON JWT payloads from GoogleID services (existing users only) | ||
security: [] | ||
tags: [auth] | ||
requestBody: { $ref: "../open-api.yaml#/components/requestBodies/GoogleTokenRequest" } | ||
responses: | ||
# TODO Update 200 to use 200.AuthTokenAndPreFetchedUserItems, then run codegen | ||
"200": { $ref: "../open-api.yaml#/components/responses/200AuthToken" } | ||
"400": { $ref: "../open-api.yaml#/components/responses/400InvalidUserInput" } | ||
"401": { $ref: "../open-api.yaml#/components/responses/401AuthenticationRequired" } | ||
"5XX": { $ref: "../open-api.yaml#/components/responses/5xxInternalServerError" } | ||
default: { $ref: "../open-api.yaml#/components/responses/UnexpectedResponse" } |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
type: string | ||
description: "A base64-encoded JSON JWT from GoogleID services (auth: google-oauth)." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## yaml-language-server: $schema=https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.yaml#/$defs/request-body | ||
|
||
# req.body for /auth/google-token | ||
|
||
required: true | ||
content: | ||
application/json: | ||
schema: { $ref: "../open-api.yaml#/components/schemas/GoogleIDTokenField" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## yaml-language-server: $schema=https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.yaml#/$defs/schema | ||
|
||
# REST Schema: GoogleIDTokenField | ||
|
||
type: object | ||
description: | | ||
An object which contains a base64-encoded JSON JWT from GoogleID services | ||
under the key "googleIDToken". | ||
properties: | ||
googleIDToken: { $ref: "../open-api.yaml#/components/schemas/GoogleIDToken" } | ||
required: | ||
- googleIDToken |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,3 @@ allOf: | |
required: | ||
- handle | ||
- phone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.