From abfc69fc75410a8969bd7ab5e7c09696e44ee7e7 Mon Sep 17 00:00:00 2001 From: Emmanuel Oloyede Date: Wed, 25 Oct 2023 15:27:07 +0100 Subject: [PATCH] fix: resolve API reference failing requests --- docs/mint.json | 6 +----- docs/spec.yaml | 6 +++--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/mint.json b/docs/mint.json index dbe122531..3171a187a 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -27,11 +27,7 @@ "thumbsRating": true }, "api": { - "baseUrl": ["https://app.infisical.com", "http://localhost:8080"], - "auth": { - "method": "key", - "name": "X-API-KEY" - } + "baseUrl": ["https://app.infisical.com", "http://localhost:8080"] }, "topbarLinks": [ { "name": "Log In", "url": "https://app.infisical.com/login" } diff --git a/docs/spec.yaml b/docs/spec.yaml index 40379087a..6000b5344 100644 --- a/docs/spec.yaml +++ b/docs/spec.yaml @@ -4,7 +4,7 @@ info: description: List of all available APIs that can be consumed version: 1.0.0 servers: - - url: https://infisical.com + - url: https://app.infisical.com description: Production server - url: http://localhost:8080 description: Local server @@ -3785,7 +3785,7 @@ components: type: http scheme: bearer bearerFormat: JWT - description: >- + description: This security definition uses the HTTP 'bearer' scheme, which allows the client to authenticate using a JSON Web Token (JWT) that is passed in the Authorization header of the request. @@ -3793,7 +3793,7 @@ components: type: apiKey in: header name: X-API-Key - description: >- + description: This security definition uses an API key, which is passed in the header of the request as the value of the "X-API-Key" header. The client must provide a valid key in order to access the API.