Skip to content

Commit

Permalink
📝 documented endpoint security
Browse files Browse the repository at this point in the history
  • Loading branch information
jlarsson committed Dec 2, 2022
1 parent b203617 commit a65fd69
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ paths:
summary: Notify user with a link for verifying their email adress
tags:
- Contact details verification
security:
- BearerAuth: []
responses:
"200":
description: "successful operation"
Expand All @@ -49,6 +51,8 @@ paths:
summary: Notify user with a link for verifying their phone number
tags:
- Contact details verification
security:
- BearerAuth: []
responses:
"200":
description: "successful operation"
Expand Down Expand Up @@ -79,7 +83,7 @@ paths:
/api/v1/aboutme/verify/phone/{verificationCode}:
get:
operationId: aboutMeVerifyPhone
summary: 'Verify user submited phone details given verification code'
summary: 'Verify user submitted phone details given verification code'
tags:
- Contact details verification
parameters:
Expand All @@ -101,6 +105,8 @@ paths:
summary: "GraphQL endpoint for About Me"
tags:
- About Me
security:
- BearerAuth: []
requestBody:
required: true
content:
Expand All @@ -115,6 +121,10 @@ paths:
schema:
$ref: "#/components/schemas/GraphQLResponse"
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
schemas:
VerificationResponse:
type: object
Expand Down

0 comments on commit a65fd69

Please sign in to comment.