fix: resolve API reference failing requests

This commit is contained in:
Emmanuel Oloyede
2023-10-25 15:27:07 +01:00
parent 1084323d6d
commit abfc69fc75
2 changed files with 4 additions and 8 deletions
+1 -5
View File
@@ -27,11 +27,7 @@
"thumbsRating": true "thumbsRating": true
}, },
"api": { "api": {
"baseUrl": ["https://app.infisical.com", "http://localhost:8080"], "baseUrl": ["https://app.infisical.com", "http://localhost:8080"]
"auth": {
"method": "key",
"name": "X-API-KEY"
}
}, },
"topbarLinks": [ "topbarLinks": [
{ "name": "Log In", "url": "https://app.infisical.com/login" } { "name": "Log In", "url": "https://app.infisical.com/login" }
+3 -3
View File
@@ -4,7 +4,7 @@ info:
description: List of all available APIs that can be consumed description: List of all available APIs that can be consumed
version: 1.0.0 version: 1.0.0
servers: servers:
- url: https://infisical.com - url: https://app.infisical.com
description: Production server description: Production server
- url: http://localhost:8080 - url: http://localhost:8080
description: Local server description: Local server
@@ -3785,7 +3785,7 @@ components:
type: http type: http
scheme: bearer scheme: bearer
bearerFormat: JWT bearerFormat: JWT
description: >- description:
This security definition uses the HTTP 'bearer' scheme, which allows the This security definition uses the HTTP 'bearer' scheme, which allows the
client to authenticate using a JSON Web Token (JWT) that is passed in client to authenticate using a JSON Web Token (JWT) that is passed in
the Authorization header of the request. the Authorization header of the request.
@@ -3793,7 +3793,7 @@ components:
type: apiKey type: apiKey
in: header in: header
name: X-API-Key name: X-API-Key
description: >- description:
This security definition uses an API key, which is passed in the header 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 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. provide a valid key in order to access the API.