mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-11-09 16:26:33 -05:00
* Fix: extra type in `Author.yaml`
* Fix: formatting
* Initial library schema
* Additional debugging
* Fix: spec relative paths
* Add: ebook file spec
* Fix: response type should be string
* Linting updates
* Add: missing librarySettings
* Temporary fix: Library cron can be null or false
* Author controller updates
* Add: `/api/libraries/{id}` endpoint
* Update library responses
* Add: descriptions
* Fix: queries should be in body
* Fix: `body` should be `requestBody`
* Move: `libraryController` paths, clean up `requestBody`
* Clean up libraryController parameters
* Move: author endpoints to controller
* Add `get` for author images
* Simplify author schema with items
* Remove: unused response type
* Update: formatting
* Update json
* Update requestBody on LibraryController
* LibrarySettings update
* Replace: generic parameter with path specific parameter
* Fix: requestBody descriptions
* Fix: match post operation
* Temporary: nullable Author schemas
* LibraryController items endpoint
* Add: delete library items with issues
* Massive cleanup and violation fixing
* Update bundled spec
* Add: remove library items with issues
* Add: library items endpoint
* Fix: errors
* Fix: base schemas
* Add: series schemas
* Add: library series endpoint
* Fix: oneOf and array issues
* Add: author search region for matching
* Add: series endpoints
* Fix: series issues
* Add library series endpoint and update deprecation
* Fix: series endpoint deprecation
* Fix: `name` in `sortDesc` schema
* Add: workflow for linting spec
* Update OpenAPI readme
31 lines
834 B
YAML
31 lines
834 B
YAML
name: API linting
|
|
|
|
# Run on pull requests or pushes when there is a change to the OpenAPI file
|
|
on:
|
|
push:
|
|
paths:
|
|
- docs/
|
|
pull_request:
|
|
paths:
|
|
- docs/
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Check out the repository
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
# Set up node to run the javascript
|
|
- name: Set up node
|
|
uses: actions/setup-node@v4
|
|
# Install Redocly CLI
|
|
- name: Install Redocly CLI
|
|
run: npm install -g @redocly/cli@latest
|
|
# Perform linting for exploded spec
|
|
- name: Run linting for exploded spec
|
|
run: redocly lint docs/root.yaml --format=github-actions
|
|
# Perform linting for bundled spec
|
|
- name: Run linting for bundled spec
|
|
run: redocly lint docs/openapi.json --format=github-actions
|