From ed2e34afee2c8c4117eba732299b174388cd3a66 Mon Sep 17 00:00:00 2001 From: Richard Willis Date: Tue, 24 Nov 2020 20:06:48 +0000 Subject: [PATCH] Add parameter definition and remove unused model --- api/mailinabox.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/api/mailinabox.yml b/api/mailinabox.yml index 17d01bb9..f4b8db9d 100644 --- a/api/mailinabox.yml +++ b/api/mailinabox.yml @@ -744,11 +744,18 @@ paths: schema: type: string /dns/zonefile/{zone}: + parameters: + - in: path + name: zone + schema: + $ref: '#/components/schemas/Hostname' + required: true + description: Hostname get: tags: - DNS 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 x-codeSamples: - lang: curl @@ -2690,13 +2697,6 @@ components: type: string MfaEnableSuccessResponse: type: string - MfaEnableBadRequestResponse: - type: object - required: - - error - properties: - error: - type: string MfaDisableRequest: type: object properties: