Skip to content

Commit

Permalink
doc: generate documentation after updating OA securityDefinitions
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoubfaouzi committed Jul 22, 2024
1 parent 8d087f2 commit f5942f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
10 changes: 1 addition & 9 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2930,14 +2930,6 @@ const docTemplate = `{
}
}
}
},
"securityDefinitions": {
"Bearer": {
"description": "Enter the token with the ` + "`" + `Bearer: ` + "`" + ` prefix, e.g. \"Bearer abcde12345\".",
"type": "apiKey",
"name": "Authorization",
"in": "header"
}
}
}`

Expand All @@ -2948,7 +2940,7 @@ var SwaggerInfo = &swag.Spec{
BasePath: "/v1",
Schemes: []string{"https"},
Title: "Saferwall Web API",
Description: "Interact with Saferwall Malware Analysis Platform",
Description: "Enter the token with the `Bearer ` prefix, e.g. \"Bearer abcde12345\".",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
Expand Down
10 changes: 1 addition & 9 deletions docs/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions docs/swagger.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f5942f4

Please sign in to comment.