apidocs: re-version, set up for hosted ui

swagger.json is uploaded after each build, and is hosted at
api.jfa-go.com.
This commit is contained in:
Harvey Tindall
2021-11-15 00:17:39 +00:00
parent b39ad5c688
commit 4fcba32f74
3 changed files with 9 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ type getTokenDTO struct {
}
// @Summary Grabs an API token using username & password.
// @description Click the lock icon next to this, login with your normal jfa-go credentials. Click 'try it out', then 'execute' and an API Key will be returned, copy it (not including quotes). On any of the other routes, click the lock icon and set the API key as "Bearer `your api key`".
// @description If viewing docs locally, click the lock icon next to this, login with your normal jfa-go credentials. Click 'try it out', then 'execute' and an API Key will be returned, copy it (not including quotes). On any of the other routes, click the lock icon and set the API key as "Bearer `your api key`".
// @Produce json
// @Success 200 {object} getTokenDTO
// @Failure 401 {object} stringResponse