From 039ec4ec79a563a7ebfd2437c29ee7e7598836b0 Mon Sep 17 00:00:00 2001 From: Gabriel Ratcliff Date: Fri, 24 Jan 2020 15:18:54 -0800 Subject: [PATCH] style: Prettified fixture json (#99) --- __tests__/fixtures/local-link.json | 76 +++++++++++++++--------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/__tests__/fixtures/local-link.json b/__tests__/fixtures/local-link.json index 0c1007e9..a9f1ab67 100644 --- a/__tests__/fixtures/local-link.json +++ b/__tests__/fixtures/local-link.json @@ -14,13 +14,13 @@ "get": { "operationId": "getUserByName", "security": [ - { - "cookieAuth": [] - }, - { - "bearerAuth": [] - } - ], + { + "cookieAuth": [] + }, + { + "bearerAuth": [] + } + ], "parameters": [ { "name": "username", @@ -158,8 +158,8 @@ } }, { - "$ref": "#/components/parameters/host" - } + "$ref": "#/components/parameters/host" + } ], "responses": { "200": { @@ -336,34 +336,34 @@ } }, "securitySchemes": { - "apiKey": { - "name": "X-API-KEY", - "type": "apiKey", - "in": "header" - }, - "basicAuth": { - "type": "http", - "scheme": "basic" - }, - "bearerAuth": { - "type": "http", - "scheme": "bearer", - "bearerFormat": "JWT" - }, - "cookieAuth": { - "type": "apiKey", - "in": "cookie", - "name": "cookieSessionId" - } - }, - "parameters": { - "host": { - "in": "header", - "name": "hostname", - "schema": { - "type": "string" - } - } - } + "apiKey": { + "name": "X-API-KEY", + "type": "apiKey", + "in": "header" + }, + "basicAuth": { + "type": "http", + "scheme": "basic" + }, + "bearerAuth": { + "type": "http", + "scheme": "bearer", + "bearerFormat": "JWT" + }, + "cookieAuth": { + "type": "apiKey", + "in": "cookie", + "name": "cookieSessionId" + } + }, + "parameters": { + "host": { + "in": "header", + "name": "hostname", + "schema": { + "type": "string" + } + } + } } }