Expose some API structs
This commit is contained in:
parent
e070b6e82b
commit
890806aeee
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue