threeport icon indicating copy to clipboard operation
threeport copied to clipboard

Fix API swagger docs page links

Open lander2k2 opened this issue 11 months ago • 0 comments

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.

lander2k2 avatar Mar 14 '24 14:03 lander2k2