API: Move swagger.json to /internal/api and embed it in build #2132

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-07-19 22:08:56 +02:00
parent d86fc2863e
commit 16f02e41fd
13 changed files with 548 additions and 37 deletions

View File

@@ -47,4 +47,5 @@ import (
// @externalDocs.description Learn more
// @externalDocs.url https://docs.photoprism.app/developer-guide/api/
// @version v1
// @host demo.photoprism.app
// @query.collection.format multi