Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 17 additions & 6 deletions openapi/paths/auth/oauth/oauth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down