1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-20 02:52:11 +00:00

Add parameter definition and remove unused model

This commit is contained in:
Richard Willis 2020-11-24 20:06:48 +00:00
parent fd47ca30e6
commit ed2e34afee

View File

@ -744,11 +744,18 @@ paths:
schema: schema:
type: string type: string
/dns/zonefile/{zone}: /dns/zonefile/{zone}:
parameters:
- in: path
name: zone
schema:
$ref: '#/components/schemas/Hostname'
required: true
description: Hostname
get: get:
tags: tags:
- DNS - DNS
summary: Get DNS zonefile summary: Get DNS zonefile
description: Returns an array of all managed top-level domains. description: Returns a DNS zone file for a hostname.
operationId: getDnsZonefile operationId: getDnsZonefile
x-codeSamples: x-codeSamples:
- lang: curl - lang: curl
@ -2690,13 +2697,6 @@ components:
type: string type: string
MfaEnableSuccessResponse: MfaEnableSuccessResponse:
type: string type: string
MfaEnableBadRequestResponse:
type: object
required:
- error
properties:
error:
type: string
MfaDisableRequest: MfaDisableRequest:
type: object type: object
properties: properties: