mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Implement workaround for swagger-autogen edgecase and expose folders, secret imports API
This commit is contained in:
4
docs/api-reference/endpoints/folders/create.mdx
Normal file
4
docs/api-reference/endpoints/folders/create.mdx
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: "Create"
|
||||
openapi: "POST /api/v1/folders/"
|
||||
---
|
||||
4
docs/api-reference/endpoints/folders/delete.mdx
Normal file
4
docs/api-reference/endpoints/folders/delete.mdx
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: "Delete"
|
||||
openapi: "DELETE /api/v1/folders/{folderId}"
|
||||
---
|
||||
4
docs/api-reference/endpoints/folders/list.mdx
Normal file
4
docs/api-reference/endpoints/folders/list.mdx
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: "List"
|
||||
openapi: "GET /api/v1/folders/"
|
||||
---
|
||||
4
docs/api-reference/endpoints/folders/update.mdx
Normal file
4
docs/api-reference/endpoints/folders/update.mdx
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: "Update"
|
||||
openapi: "PATCH /api/v1/folders/{folderId}"
|
||||
---
|
||||
4
docs/api-reference/endpoints/secret-imports/create.mdx
Normal file
4
docs/api-reference/endpoints/secret-imports/create.mdx
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: "Create"
|
||||
openapi: "POST /api/v1/secret-imports/"
|
||||
---
|
||||
4
docs/api-reference/endpoints/secret-imports/delete.mdx
Normal file
4
docs/api-reference/endpoints/secret-imports/delete.mdx
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: "Delete"
|
||||
openapi: "DELETE /api/v1/secret-imports/{id}"
|
||||
---
|
||||
4
docs/api-reference/endpoints/secret-imports/list.mdx
Normal file
4
docs/api-reference/endpoints/secret-imports/list.mdx
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: "List"
|
||||
openapi: "GET /api/v1/secret-imports/"
|
||||
---
|
||||
4
docs/api-reference/endpoints/secret-imports/update.mdx
Normal file
4
docs/api-reference/endpoints/secret-imports/update.mdx
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: "Update"
|
||||
openapi: "PUT /api/v1/secret-imports/{id}"
|
||||
---
|
||||
@@ -5,7 +5,6 @@ openapi: "POST /api/v3/secrets/{secretName}"
|
||||
|
||||
<Tip>
|
||||
Using this route requires understanding Infisical's system and cryptography.
|
||||
It may be helpful to read through the
|
||||
[introduction](/api-reference/overview/introduction) and [guide for creating
|
||||
secrets](/api-reference/overview/examples/create-secret).
|
||||
You should consult the [examples](https://infisical.com/docs/api-reference/overview/examples/note) for how to use
|
||||
this endpoint.
|
||||
</Tip>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
---
|
||||
title: "Delete"
|
||||
openapi: "DELETE /api/v3/secrets/{secretName}"
|
||||
---
|
||||
---
|
||||
@@ -5,7 +5,7 @@ openapi: "GET /api/v3/secrets/"
|
||||
|
||||
<Tip>
|
||||
Using this route requires understanding Infisical's system and cryptography.
|
||||
It may be helpful to read through the
|
||||
[introduction](/api-reference/overview/introduction) and [guide for retrieving
|
||||
secrets](/api-reference/overview/examples/retrieve-secret).
|
||||
You should consult the [examples](https://infisical.com/docs/api-reference/overview/examples/note) for how to use
|
||||
this endpoint.
|
||||
</Tip>
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ openapi: "GET /api/v3/secrets/{secretName}"
|
||||
|
||||
<Tip>
|
||||
Using this route requires understanding Infisical's system and cryptography.
|
||||
It may be helpful to read through the
|
||||
[introduction](/api-reference/overview/introduction) and [guide for retrieving
|
||||
secrets](/api-reference/overview/examples/retrieve-secret).
|
||||
You should consult the [examples](https://infisical.com/docs/api-reference/overview/examples/note) for how to use
|
||||
this endpoint.
|
||||
</Tip>
|
||||
|
||||
@@ -5,7 +5,7 @@ openapi: "PATCH /api/v3/secrets/{secretName}"
|
||||
|
||||
<Tip>
|
||||
Using this route requires understanding Infisical's system and cryptography.
|
||||
It may be helpful to read through the
|
||||
[introduction](/api-reference/overview/introduction) and [guide for updating
|
||||
secrets](/api-reference/overview/examples/update-secret).
|
||||
You should consult the [examples](https://infisical.com/docs/api-reference/overview/examples/note) for how to use
|
||||
this endpoint.
|
||||
</Tip>
|
||||
|
||||
|
||||
@@ -331,6 +331,15 @@
|
||||
"api-reference/endpoints/environments/delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Folders",
|
||||
"pages": [
|
||||
"api-reference/endpoints/folders/list",
|
||||
"api-reference/endpoints/folders/create",
|
||||
"api-reference/endpoints/folders/update",
|
||||
"api-reference/endpoints/folders/delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Secrets",
|
||||
"pages": [
|
||||
@@ -343,6 +352,15 @@
|
||||
"api-reference/endpoints/secrets/rollback-version"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Secret imports",
|
||||
"pages": [
|
||||
"api-reference/endpoints/secret-imports/list",
|
||||
"api-reference/endpoints/secret-imports/create",
|
||||
"api-reference/endpoints/secret-imports/update",
|
||||
"api-reference/endpoints/secret-imports/delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Service Tokens",
|
||||
"pages": ["api-reference/endpoints/service-tokens/get"]
|
||||
|
||||
2222
docs/spec.yaml
2222
docs/spec.yaml
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user