Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial proposed new routes #3388

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Initial: new root spec for all endpoints
nichwall committed Sep 11, 2024
commit 9cc3caaaeda6de193eeca00039d5c81f9d048105
Loading

Unchanged files with check annotations Beta

{
"openapi": "3.0.0",
"info": {

Check warning on line 3 in docs/openapi.json

GitHub Actions / build

info-license

Info object should contain `license` field.
"title": "Audiobookshelf API",
"version": "0.1.0",
"description": "Audiobookshelf API with autogenerated OpenAPI doc"
},
"servers": [
{
"url": "http://localhost:3000",

Check warning on line 10 in docs/openapi.json

GitHub Actions / build

no-server-example.com

Server `url` should not point to example.com or localhost.
"description": "Development server"
}
],
"tags": [
"Email"
],
"responses": {

Check warning on line 435 in docs/openapi.json

GitHub Actions / build

operation-4xx-response

Operation must have at least one `4XX` response.
"200": {
"$ref": "#/components/responses/email200"
}
}
}
},
"responses": {

Check warning on line 457 in docs/openapi.json

GitHub Actions / build

operation-4xx-response

Operation must have at least one `4XX` response.
"200": {
"$ref": "#/components/responses/email200"
}
"tags": [
"Email"
],
"responses": {

Check warning on line 471 in docs/openapi.json

GitHub Actions / build

operation-4xx-response

Operation must have at least one `4XX` response.
"200": {
"description": "Successful response"
}
"tags": [
"Libraries"
],
"responses": {

Check warning on line 562 in docs/openapi.json

GitHub Actions / build

operation-4xx-response

Operation must have at least one `4XX` response.
"200": {
"description": "getLibraries OK",
"content": {
openapi: 3.0.0
info:

Check warning on line 2 in docs/root.yaml

GitHub Actions / build

info-license

Info object should contain `license` field.
title: Audiobookshelf API
version: 0.1.0
description: Audiobookshelf API with autogenerated OpenAPI doc
servers:
- url: http://localhost:3000

Check warning on line 7 in docs/root.yaml

GitHub Actions / build

no-server-example.com

Server `url` should not point to example.com or localhost.
description: Development server
components:
securitySchemes:
operationId: getEmailSettings
tags:
- Email
responses:

Check warning on line 33 in docs/controllers/EmailController.yaml

GitHub Actions / build

operation-4xx-response

Operation must have at least one `4XX` response.
200:
$ref: '#/components/responses/email200'
patch:
application/json:
schema:
$ref: '../objects/settings/EmailSettings.yaml#/components/schemas/EmailSettings'
responses:

Check warning on line 47 in docs/controllers/EmailController.yaml

GitHub Actions / build

operation-4xx-response

Operation must have at least one `4XX` response.
200:
$ref: '#/components/responses/email200'
/api/emails/test:
operationId: sendTestEmail
tags:
- Email
responses:

Check warning on line 56 in docs/controllers/EmailController.yaml

GitHub Actions / build

operation-4xx-response

Operation must have at least one `4XX` response.
200:
description: Successful response
/api/emails/ereader-devices:
description: Get all libraries on server.
tags:
- Libraries
responses:

Check warning on line 239 in docs/controllers/LibraryController.yaml

GitHub Actions / build

operation-4xx-response

Operation must have at least one `4XX` response.
'200':
description: getLibraries OK
content: