Expose some API structs

This commit is contained in:
nemunaire 2023-09-07 12:22:33 +02:00
parent e070b6e82b
commit 890806aeee
2 changed files with 2 additions and 2 deletions

View File

@ -216,7 +216,7 @@ type APIDomain struct {
// @Produce json
// @Param domainId path string true "Domain identifier"
// @Security securitydefinitions.basic
// @Success 200 {object} apiDomain
// @Success 200 {object} APIDomain
// @Failure 401 {object} happydns.Error "Authentication failure"
// @Failure 404 {object} happydns.Error "Domain not found"
// @Router /domains/{domainId} [get]

View File

@ -177,7 +177,7 @@ type LoginForm struct {
// @Tags user_auth
// @Accept json
// @Produce json
// @Param body body loginForm true "Login information"
// @Param body body LoginForm true "Login information"
// @Success 200 {object} DisplayUser "Login success"
// @Failure 401 {object} happydns.Error "Authentication failure"
// @Failure 500 {object} happydns.Error