diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-10 19:29:37 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-10 19:29:37 -0700 |
commit | c6b4ccfb8b5796a632b3d7a469b7658eeed070c0 (patch) | |
tree | c6e6297a7cb8dc75e1bfa404cb2b4e7253da51d6 /fatcat-openapi2.yml | |
parent | bf769e17ccdb788cb6127c26fb7f0e60e1fd0a9e (diff) | |
download | fatcat-c6b4ccfb8b5796a632b3d7a469b7658eeed070c0.tar.gz fatcat-c6b4ccfb8b5796a632b3d7a469b7658eeed070c0.zip |
make API types more consistent
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r-- | fatcat-openapi2.yml | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml index a8919216..2b0615d2 100644 --- a/fatcat-openapi2.yml +++ b/fatcat-openapi2.yml @@ -671,7 +671,7 @@ paths: operationId: "get_creator_releases" responses: 200: - description: Found Entity + description: Found schema: type: array items: @@ -939,7 +939,7 @@ paths: operationId: "get_release_files" responses: 200: - description: Found Entity + description: Found schema: type: array items: @@ -1081,7 +1081,7 @@ paths: operationId: "get_work_releases" responses: 200: - description: Found Entity + description: Found schema: type: array items: @@ -1097,9 +1097,13 @@ paths: operationId: "get_editor" responses: 200: - description: Found Editor + description: Found schema: $ref: "#/definitions/editor" + 400: + description: Bad Request + schema: + $ref: "#/definitions/error_response" 404: description: Not Found schema: @@ -1118,11 +1122,15 @@ paths: operationId: "get_editor_changelog" responses: 200: - description: Found Merged Changes + description: Found schema: type: array items: $ref: "#/definitions/changelog_entry" + 400: + description: Bad Request + schema: + $ref: "#/definitions/error_response" 404: description: Not Found schema: @@ -1163,7 +1171,7 @@ paths: operationId: "get_editgroup" responses: 200: - description: Found Entity + description: Found schema: $ref: "#/definitions/editgroup" 400: |