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
14 changes: 3 additions & 11 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2653,25 +2653,17 @@ const docTemplate = `{
}
}
}
},
"securityDefinitions": {
"BearerAuth": {
"description": "Either an Udash API token, created from the tokens page and prefixed with \"udash_pat_\", or an access token from the configured identity provider. Send it as \"Bearer \u003ctoken\u003e\".",
"type": "apiKey",
"name": "Authorization",
"in": "header"
}
}
}`

// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Version: "",
Host: "",
BasePath: "",
Schemes: []string{},
Title: "Udash API",
Description: "API for managing Updatecli pipeline reports.",
Title: "",
Description: "",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
Expand Down
13 changes: 1 addition & 12 deletions docs/swagger.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"swagger": "2.0",
"info": {
"description": "API for managing Updatecli pipeline reports.",
"title": "Udash API",
"contact": {},
"version": "1.0"
"contact": {}
},
"paths": {
"/api/": {
Expand Down Expand Up @@ -2645,13 +2642,5 @@
}
}
}
},
"securityDefinitions": {
"BearerAuth": {
"description": "Either an Udash API token, created from the tokens page and prefixed with \"udash_pat_\", or an access token from the configured identity provider. Send it as \"Bearer \u003ctoken\u003e\".",
"type": "apiKey",
"name": "Authorization",
"in": "header"
}
}
}
11 changes: 0 additions & 11 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1199,9 +1199,6 @@ definitions:
type: object
info:
contact: {}
description: API for managing Updatecli pipeline reports.
title: Udash API
version: "1.0"
paths:
/api/:
get:
Expand Down Expand Up @@ -1993,12 +1990,4 @@ paths:
summary: Describe the current identity
tags:
- Tokens
securityDefinitions:
BearerAuth:
description: Either an Udash API token, created from the tokens page and prefixed
with "udash_pat_", or an access token from the configured identity provider.
Send it as "Bearer <token>".
in: header
name: Authorization
type: apiKey
swagger: "2.0"