Skip to content

Commit

Permalink
Update swagger doc
Browse files Browse the repository at this point in the history
  • Loading branch information
DJAndries committed Nov 19, 2024
1 parent bf571b2 commit 1b8ce70
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 33 deletions.
14 changes: 2 additions & 12 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -707,12 +707,6 @@ const docTemplate = `{
],
"summary": "Complete email verification",
"parameters": [
{
"type": "string",
"description": "Brave services key (if one is configured)",
"name": "Brave-Key",
"in": "header"
},
{
"description": "Verify completion params",
"name": "request",
Expand Down Expand Up @@ -758,7 +752,7 @@ const docTemplate = `{
"text/html"
],
"tags": [
"Debugging"
"Development"
],
"summary": "Display default verification completion frontend",
"responses": {
Expand All @@ -778,7 +772,7 @@ const docTemplate = `{
"text/html"
],
"tags": [
"Debugging"
"Development"
],
"summary": "View sent emails in LocalStack SES",
"responses": {
Expand Down Expand Up @@ -926,10 +920,6 @@ const docTemplate = `{
"clientMac": {
"description": "Client MAC of KE3",
"type": "string"
},
"sessionName": {
"description": "Optional name for the new session",
"type": "string"
}
}
},
Expand Down
14 changes: 2 additions & 12 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -697,12 +697,6 @@
],
"summary": "Complete email verification",
"parameters": [
{
"type": "string",
"description": "Brave services key (if one is configured)",
"name": "Brave-Key",
"in": "header"
},
{
"description": "Verify completion params",
"name": "request",
Expand Down Expand Up @@ -748,7 +742,7 @@
"text/html"
],
"tags": [
"Debugging"
"Development"
],
"summary": "Display default verification completion frontend",
"responses": {
Expand All @@ -768,7 +762,7 @@
"text/html"
],
"tags": [
"Debugging"
"Development"
],
"summary": "View sent emails in LocalStack SES",
"responses": {
Expand Down Expand Up @@ -916,10 +910,6 @@
"clientMac": {
"description": "Client MAC of KE3",
"type": "string"
},
"sessionName": {
"description": "Optional name for the new session",
"type": "string"
}
}
},
Expand Down
11 changes: 2 additions & 9 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ definitions:
clientMac:
description: Client MAC of KE3
type: string
sessionName:
description: Optional name for the new session
type: string
required:
- clientMac
type: object
Expand Down Expand Up @@ -749,10 +746,6 @@ paths:
- application/json
description: Completes the email verification process
parameters:
- description: Brave services key (if one is configured)
in: header
name: Brave-Key
type: string
- description: Verify completion params
in: body
name: request
Expand Down Expand Up @@ -793,7 +786,7 @@ paths:
type: string
summary: Display default verification completion frontend
tags:
- Debugging
- Development
/v2/verify/email_viewer:
get:
description: Retrieves and displays emails sent through LocalStack SES endpoint
Expand All @@ -810,7 +803,7 @@ paths:
type: string
summary: View sent emails in LocalStack SES
tags:
- Debugging
- Development
/v2/verify/init:
post:
consumes:
Expand Down

0 comments on commit 1b8ce70

Please sign in to comment.