oas: [2/n] improve schema oas (#9040)

This commit is contained in:
Shahed Nasser
2024-09-06 18:53:07 +03:00
committed by GitHub
parent 0482b7751d
commit 7a80593b68
20 changed files with 168 additions and 204 deletions
@@ -1,7 +1,7 @@
/**
* @schema AdminCreateApiKey
* type: object
* description: SUMMARY
* description: The API key's details.
* x-schemaName: AdminCreateApiKey
* required:
* - title
@@ -10,10 +10,10 @@
* title:
* type: string
* title: title
* description: The api key's title.
* description: The API key's title.
* type:
* type: string
* description: The api key's type.
* description: The API key's type. Use `secret` for a user's API key; Use `publishable` for Publishable API keys.
* enum:
* - publishable
* - secret