From 77f360b1b82d63bf7ac91dce9cf9b1c3552a43e5 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Wed, 7 Oct 2020 00:16:16 +0800 Subject: fix: case typo (#13049) * Update settings.go * Run swagger generate --- templates/swagger/v1_json.tmpl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'templates/swagger') diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 837705682a..e7655f02a8 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -8870,7 +8870,7 @@ } } }, - "/settings/Attachment": { + "/settings/api": { "get": { "produces": [ "application/json" @@ -8878,16 +8878,16 @@ "tags": [ "settings" ], - "summary": "Get instance's global settings for Attachment", - "operationId": "getGeneralAttachmentSettings", + "summary": "Get instance's global settings for api", + "operationId": "getGeneralAPISettings", "responses": { "200": { - "$ref": "#/responses/GeneralAttachmentSettings" + "$ref": "#/responses/GeneralAPISettings" } } } }, - "/settings/api": { + "/settings/attachment": { "get": { "produces": [ "application/json" @@ -8895,11 +8895,11 @@ "tags": [ "settings" ], - "summary": "Get instance's global settings for api", - "operationId": "getGeneralAPISettings", + "summary": "Get instance's global settings for Attachment", + "operationId": "getGeneralAttachmentSettings", "responses": { "200": { - "$ref": "#/responses/GeneralAPISettings" + "$ref": "#/responses/GeneralAttachmentSettings" } } } -- cgit v1.2.3