diff --git a/docs/docs.go b/docs/docs.go index f3a1518..1bd46a1 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -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" - } } }` @@ -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: "{{", diff --git a/docs/swagger.json b/docs/swagger.json index 4d49aef..1e4244e 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -4,7 +4,7 @@ ], "swagger": "2.0", "info": { - "description": "Interact with Saferwall Malware Analysis Platform", + "description": "Enter the token with the `Bearer ` prefix, e.g. \"Bearer abcde12345\".", "title": "Saferwall Web API", "termsOfService": "https://about.saferwall.com/tos", "contact": { @@ -2927,13 +2927,5 @@ } } } - }, - "securityDefinitions": { - "Bearer": { - "description": "Enter the token with the `Bearer: ` prefix, e.g. \"Bearer abcde12345\".", - "type": "apiKey", - "name": "Authorization", - "in": "header" - } } } diff --git a/docs/swagger.yaml b/docs/swagger.yaml index ab7f015..8ebf238 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -326,7 +326,7 @@ info: email: support@saferwall.com name: API Support url: https://about.saferwall.com/contact.html - description: Interact with Saferwall Malware Analysis Platform + description: Enter the token with the `Bearer ` prefix, e.g. "Bearer abcde12345". license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html @@ -1913,10 +1913,4 @@ paths: - Activity schemes: - https -securityDefinitions: - Bearer: - description: 'Enter the token with the `Bearer: ` prefix, e.g. "Bearer abcde12345".' - in: header - name: Authorization - type: apiKey swagger: "2.0"