summaryrefslogtreecommitdiff
path: root/internal/api/model/domain.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/model/domain.go')
-rw-r--r--internal/api/model/domain.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/api/model/domain.go b/internal/api/model/domain.go
index a5e1ddf10..ddc96ef05 100644
--- a/internal/api/model/domain.go
+++ b/internal/api/model/domain.go
@@ -65,7 +65,7 @@ type DomainPermission struct {
// DomainPermissionRequest is the form submitted as a POST to create a new domain permission entry (allow/block).
//
-// swagger:model domainPermissionCreateRequest
+// swagger:ignore
type DomainPermissionRequest struct {
// A list of domains for which this permission request should apply.
// Only used if import=true is specified.
@@ -87,9 +87,9 @@ type DomainPermissionRequest struct {
PublicComment string `form:"public_comment" json:"public_comment" xml:"public_comment"`
}
-// DomainBlockCreateRequest is the form submitted as a POST to /api/v1/admin/domain_keys_expire to expire a domain's public keys.
+// DomainKeysExpireRequest is the form submitted as a POST to /api/v1/admin/domain_keys_expire to expire a domain's public keys.
//
-// swagger:model domainKeysExpireRequest
+// swagger:parameters domainKeysExpire
type DomainKeysExpireRequest struct {
// hostname/domain to expire keys for.
Domain string `form:"domain" json:"domain" xml:"domain"`