From ebe3a0afc0299a326c51dd16c28b2828a81ad073 Mon Sep 17 00:00:00 2001 From: updatecli Date: Sat, 29 Aug 2026 17:05:21 +0000 Subject: [PATCH] chore: Update API Documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made with ❤️️ by updatecli --- docs/docs.go | 14 +++----------- docs/swagger.json | 13 +------------ docs/swagger.yaml | 11 ----------- 3 files changed, 4 insertions(+), 34 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 6bb6c559..25b8bb0e 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -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: "{{", diff --git a/docs/swagger.json b/docs/swagger.json index df0666a7..39743225 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -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/": { @@ -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" - } } } \ No newline at end of file diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 79c62a3c..9ffb970a 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -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: @@ -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 ". - in: header - name: Authorization - type: apiKey swagger: "2.0"