Implement workaround for swagger-autogen edgecase and expose folders, secret imports API

This commit is contained in:
Tuan Dang
2023-09-13 09:28:29 +01:00
parent d221bf8ae9
commit 4f69257595
28 changed files with 4294 additions and 2353 deletions

View File

@@ -0,0 +1,4 @@
---
title: "Create"
openapi: "POST /api/v1/folders/"
---

View File

@@ -0,0 +1,4 @@
---
title: "Delete"
openapi: "DELETE /api/v1/folders/{folderId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "List"
openapi: "GET /api/v1/folders/"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update"
openapi: "PATCH /api/v1/folders/{folderId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Create"
openapi: "POST /api/v1/secret-imports/"
---

View File

@@ -0,0 +1,4 @@
---
title: "Delete"
openapi: "DELETE /api/v1/secret-imports/{id}"
---

View File

@@ -0,0 +1,4 @@
---
title: "List"
openapi: "GET /api/v1/secret-imports/"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update"
openapi: "PUT /api/v1/secret-imports/{id}"
---

View File

@@ -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>

View File

@@ -1,4 +1,4 @@
---
title: "Delete"
openapi: "DELETE /api/v3/secrets/{secretName}"
---
---

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>