diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-10 17:10:19 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-10 17:10:19 -0700 |
commit | c6422b49b8b946386ca1068ec6887bbf07a8b166 (patch) | |
tree | c6c082c0875edfbb0eeb7379813e01024fa74367 /golang/fatcat-openapi2.yml | |
parent | 8827f2a643b5dee773869eccb5d839f636b2295d (diff) | |
download | fatcat-c6422b49b8b946386ca1068ec6887bbf07a8b166.tar.gz fatcat-c6422b49b8b946386ca1068ec6887bbf07a8b166.zip |
404 example
Diffstat (limited to 'golang/fatcat-openapi2.yml')
-rw-r--r-- | golang/fatcat-openapi2.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/golang/fatcat-openapi2.yml b/golang/fatcat-openapi2.yml index 85d3b4fc..8f2feec9 100644 --- a/golang/fatcat-openapi2.yml +++ b/golang/fatcat-openapi2.yml @@ -34,7 +34,7 @@ definitions: properties: state: type: string - # actually enum of: (wip, active, redirect, deleted) + enum: ["wip", "active", "redirect", "deleted"] ident: type: string # format: uuid @@ -79,6 +79,10 @@ paths: description: fetch a single creator by id schema: $ref: "#/definitions/creator_entity" + 404: + description: no such creator + schema: + $ref: "#/definitions/error" default: description: generic error response schema: |