mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-08 02:17:25 +02:00
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
json:
|
|
get:
|
|
operationId: getOpenAPISpecJSON
|
|
x-module: core
|
|
x-stability-level: alpha
|
|
tags: [server]
|
|
security: []
|
|
summary: Get the OpenAPI document (JSON)
|
|
description: The bundled OpenAPI document of the running server version. Supports ETag revalidation.
|
|
responses:
|
|
'200':
|
|
description: The OpenAPI document.
|
|
headers:
|
|
ETag:
|
|
$ref: ../components/headers/ETag.yaml
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
description: OpenAPI 3.0 document.
|
|
'304':
|
|
$ref: ../components/responses/NotModified.yaml
|
|
yaml:
|
|
get:
|
|
operationId: getOpenAPISpecYAML
|
|
x-module: core
|
|
x-stability-level: alpha
|
|
tags: [server]
|
|
security: []
|
|
summary: Get the OpenAPI document (YAML)
|
|
description: The bundled OpenAPI document of the running server version. Supports ETag revalidation.
|
|
responses:
|
|
'200':
|
|
description: The OpenAPI document.
|
|
headers:
|
|
ETag:
|
|
$ref: ../components/headers/ETag.yaml
|
|
content:
|
|
application/yaml:
|
|
schema:
|
|
type: object
|
|
description: OpenAPI 3.0 document.
|
|
'304':
|
|
$ref: ../components/responses/NotModified.yaml
|