threeport
threeport copied to clipboard
Fix API swagger docs page links
If you run the threeport control plane with:
tptctl up
--provider=kind
--name=test
--auth-enabled=false
And, once it's up, go to http://localhost/swagger/index.html in your browser, you will see some links at the top of the page.
This metadata is set in cmd/rest-api/main.go
There are a few issues: The Base URL is not relevant since it's not publicly facing. That URL will go nowhere. The terms of service page doesn't exist The email address for Threeport Admin doesn't exist
This swagger metadata needs to be reviewed and fixed.