add swagger support

- install swaggo
- add swagger config option
This commit is contained in:
André Roth
2024-06-11 14:15:57 +02:00
parent 96e60ae540
commit 1d1bd41bb8
11 changed files with 86 additions and 7 deletions

View File

@@ -7,4 +7,4 @@ rm -rf /tmp/aptly*
usermod -u `stat -c %u /app` aptly >/dev/null
chown -R `stat -c %u /app` /var/lib/aptly
su - aptly -c "cd /app; export GOPATH=/app/.go; go mod tidy; make docker-test TEST=$@"
su - aptly -c "cd /app; export GOPATH=/app/.go; make docker-test TEST=$@"

View File

@@ -34,5 +34,6 @@
"type": "",
"url": "",
"dbPath": ""
}
},
"enableSwaggerEndpoint": false
}

View File

@@ -34,5 +34,6 @@
"type": "",
"url": "",
"dbPath": ""
}
},
"enableSwaggerEndpoint": false
}