diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-10 19:57:16 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-10 19:57:16 -0700 |
commit | 63dc69bbcdbee264383b919f9a8a3b1a83358be7 (patch) | |
tree | 1b74955ed3b9938f2e7d2b690ab59c9f33c91c99 /golang/gen/restapi/embedded_spec.go | |
parent | 71c6b0a4418511a6c0046742512066fc27e51b21 (diff) | |
download | fatcat-63dc69bbcdbee264383b919f9a8a3b1a83358be7.tar.gz fatcat-63dc69bbcdbee264383b919f9a8a3b1a83358be7.zip |
a bunch more skeleton
Diffstat (limited to 'golang/gen/restapi/embedded_spec.go')
-rw-r--r-- | golang/gen/restapi/embedded_spec.go | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/golang/gen/restapi/embedded_spec.go b/golang/gen/restapi/embedded_spec.go index 32753475..8e2a9ac4 100644 --- a/golang/gen/restapi/embedded_spec.go +++ b/golang/gen/restapi/embedded_spec.go @@ -382,6 +382,39 @@ func init() { } } }, + "release_entity": { + "type": "object", + "required": [ + "ident", + "state" + ], + "properties": { + "ident": { + "type": "string" + }, + "name": { + "type": "string" + }, + "orcid": { + "type": "string" + }, + "redirect": { + "type": "string" + }, + "revision": { + "type": "integer" + }, + "state": { + "type": "string", + "enum": [ + "wip", + "active", + "redirect", + "deleted" + ] + } + } + }, "success": { "type": "object", "required": [ @@ -393,6 +426,26 @@ func init() { } } } + }, + "x-entity-props": { + "ident": { + "type": "string" + }, + "redirect": { + "type": "string" + }, + "revision": { + "type": "integer" + }, + "state": { + "enum": [ + "wip", + "active", + "redirect", + "deleted" + ], + "type": "string" + } } }`)) FlatSwaggerJSON = json.RawMessage([]byte(`{ @@ -760,6 +813,39 @@ func init() { } } }, + "release_entity": { + "type": "object", + "required": [ + "ident", + "state" + ], + "properties": { + "ident": { + "type": "string" + }, + "name": { + "type": "string" + }, + "orcid": { + "type": "string" + }, + "redirect": { + "type": "string" + }, + "revision": { + "type": "integer" + }, + "state": { + "type": "string", + "enum": [ + "wip", + "active", + "redirect", + "deleted" + ] + } + } + }, "success": { "type": "object", "required": [ @@ -771,6 +857,26 @@ func init() { } } } + }, + "x-entity-props": { + "ident": { + "type": "string" + }, + "redirect": { + "type": "string" + }, + "revision": { + "type": "integer" + }, + "state": { + "enum": [ + "wip", + "active", + "redirect", + "deleted" + ], + "type": "string" + } } }`)) } |