From b8dc7b55aca73b3418d2d2d556abf841853e1b19 Mon Sep 17 00:00:00 2001 From: Frazer Seymour Date: Fri, 13 Sep 2019 23:40:13 -0400 Subject: [PATCH 1/2] Fix Redocly URL. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 028c7e2..14f06b4 100644 --- a/README.md +++ b/README.md @@ -16,4 +16,4 @@ TODO: Pre-compiled release binaries. ## API -AWDB's API is documented with the OpenAPI specification [here](api/openapi-spec/awdb.yml). You can browse the documentation online [here](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/RightMesh/awdb/api/openapi-spec/awdb.yml). +AWDB's API is documented with the OpenAPI specification [here](api/openapi-spec/awdb.yml). You can browse the documentation online [here](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/RightMesh/awdb/master/api/openapi-spec/awdb.yml). From 8bbc7602fbc5cff74cfdf357343f65e17aa52a5c Mon Sep 17 00:00:00 2001 From: Frazer Seymour Date: Fri, 13 Sep 2019 23:42:53 -0400 Subject: [PATCH 2/2] Correct content type for errors. --- api/openapi-spec/awdb.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/openapi-spec/awdb.yml b/api/openapi-spec/awdb.yml index c488f06..8a824a4 100644 --- a/api/openapi-spec/awdb.yml +++ b/api/openapi-spec/awdb.yml @@ -58,14 +58,14 @@ paths: 500: description: Error encoding JSON. content: - application/json: + text/plain: schema: type: string description: Error message from Go. 502: description: Error communicating with ADB. content: - application/json: + text/plain: schema: type: string description: Error message from Go.