docs: improve swagger

- use markdown files in swagger
- automate version, use swager.conf template
- embed swagger ui index.html as docs.html
This commit is contained in:
André Roth
2024-10-05 15:26:16 +02:00
parent 2df82e87b7
commit 69a1e2561d
10 changed files with 341 additions and 19 deletions
+16
View File
@@ -0,0 +1,16 @@
package docs
// @title Aptly API
// @description.markdown
// @contact.name Aptly
// @contact.url http://github.com/aptly-dev/aptly
// @Tag.name Publish
// @Tag.description.markdown
// @Tag.name Database
// @Tag.description.markdown
// @Tag.name Status
// @Tag.description.markdown
// version will be appended here: