From 13be6c0c1613e899b45f597b856e89f01fad8898 Mon Sep 17 00:00:00 2001 From: SKP Date: Sat, 16 Feb 2019 13:57:01 +0100 Subject: [PATCH] enclosed status-codes in '' for json compat --- doc/swagger/v0/cyphernode-callbacks.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/doc/swagger/v0/cyphernode-callbacks.yaml b/doc/swagger/v0/cyphernode-callbacks.yaml index 49a983c..932f1ae 100644 --- a/doc/swagger/v0/cyphernode-callbacks.yaml +++ b/doc/swagger/v0/cyphernode-callbacks.yaml @@ -11,8 +11,6 @@ servers: description: authoring - url: http://localhost:8888/ description: local cyphernode -security: - - BearerAuth: [] tags: - name: "cyphernode callbacks" description: "Everything bitcoin" @@ -37,11 +35,11 @@ paths: schema: $ref: '#/components/schemas/ConfRequest' responses: - 201: + '201': description: "successfully created" - 405: + '405': $ref: '#/components/schemas/ApiResponseInvalidInput' - 503: + '503': description: "Resource temporarily unavailable" content: application/json: @@ -60,11 +58,11 @@ paths: schema: $ref: '#/components/schemas/ConfRequest' responses: - 201: + '201': description: "successfully created" - 405: + '405': $ref: '#/components/schemas/ApiResponseInvalidInput' - 503: + '503': description: "Resource temporarily unavailable" content: application/json: