From f10ae51b5349059571ced2ace0def1f9ae57a709 Mon Sep 17 00:00:00 2001 From: Vishal Banthia Date: Thu, 3 Dec 2015 10:02:03 +0900 Subject: [PATCH] add swagger.json endpoint --- lib/units/api/swagger/api_v1.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/units/api/swagger/api_v1.yaml b/lib/units/api/swagger/api_v1.yaml index 4be47660..e44c2b95 100644 --- a/lib/units/api/swagger/api_v1.yaml +++ b/lib/units/api/swagger/api_v1.yaml @@ -100,7 +100,8 @@ paths: description: Unexpected Error schema: $ref: "#/definitions/ErrorResponse" - + /swagger.json: + x-swagger-pipe: swagger_raw definitions: UserResponse: required: