Skip to content

Commit

Permalink
docs: added openapi specification for the new api
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTipo01 committed Oct 22, 2023
1 parent f123955 commit 5cb9a7e
Show file tree
Hide file tree
Showing 5 changed files with 630 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: pip install mkdocs-material mkdocs-render-swagger-plugin
- run: mkdocs gh-deploy --force
2 changes: 2 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# API Reference
!!swagger openapi.json!!
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Yet Another Discord Music Bot - A music bot written in go

- Supports what [yt-dlp](https://github.com/yt-dlp/yt-dlp) supports, plus spotify playlists (if you configure the
required tokens!)
- Uses slash commands (see [Commands](commands) for a list of commands)
- Uses slash commands (see [Commands](commands.md) for a list of commands)
- Save your favorite songs and playlists with custom commands
- Automatically skips sponsors or moments when there's no music, thanks to
the [SponsorBlock API](https://sponsor.ajay.app/)
Expand Down
Loading

0 comments on commit 5cb9a7e

Please sign in to comment.