From 1946d9038ef9a164e119563fb0df644af8748711 Mon Sep 17 00:00:00 2001 From: Polo M2B Date: Tue, 2 Sep 2025 15:35:20 +0200 Subject: [PATCH] OpenAPI/DVP API: fix HubAuth securitySchemes type Since c69c0b53dd46ec56dc63e43e9fe6bd279f910431, securityScheme HubAuth is mentioned with type `'https'`, instead of `'http'`. But this generate OpenAPI validity issues, type of security schemes has to belong to this list: "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect" source: https://spec.openapis.org/oas/v3.1.1.html#security-scheme-object-0 --- Noticed while trying to deploy last version of OpenAPI documents on Bump.sh demo space: https://bump.sh/christophedujarric/hub/docker --- content/reference/api/dvp/latest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/reference/api/dvp/latest.yaml b/content/reference/api/dvp/latest.yaml index 8ff2030acab3..be57a0c0c5fe 100644 --- a/content/reference/api/dvp/latest.yaml +++ b/content/reference/api/dvp/latest.yaml @@ -686,7 +686,7 @@ components: enum: [repo,namespace] securitySchemes: HubAuth: - type: https + type: http scheme: bearer bearerFormat: JWT description: |