docs: generate OAS manually for 2.7.0 (#12158)

* original changes

* changes

* fixes for delete operations

* generate oas
This commit is contained in:
Shahed Nasser
2025-04-11 16:41:39 +03:00
committed by GitHub
parent f8023f419e
commit cd66cdd2bb
1028 changed files with 29859 additions and 286 deletions

View File

@@ -0,0 +1,39 @@
get:
operationId: GetPlugins
summary: List Plugins
description: Retrieve the list of plugins installed in the Medusa application.
x-authenticated: true
security:
- api_token: []
- cookie_auth: []
- jwt_token: []
x-codeSamples:
- lang: JavaScript
label: JS SDK
source:
$ref: ../code_samples/JavaScript/admin_plugins/get.js
- lang: Shell
label: cURL
source:
$ref: ../code_samples/Shell/admin_plugins/get.sh
tags:
- Plugins
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: ../components/schemas/AdminPluginsListResponse.yaml
'400':
$ref: ../components/responses/400_error.yaml
'401':
$ref: ../components/responses/unauthorized.yaml
'404':
$ref: ../components/responses/not_found_error.yaml
'409':
$ref: ../components/responses/invalid_state_error.yaml
'422':
$ref: ../components/responses/invalid_request_error.yaml
'500':
$ref: ../components/responses/500_error.yaml