From 63dc69bbcdbee264383b919f9a8a3b1a83358be7 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 10 May 2018 19:57:16 -0700 Subject: a bunch more skeleton --- golang/gen/restapi/embedded_spec.go | 106 ++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) (limited to 'golang/gen/restapi/embedded_spec.go') 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" + } } }`)) } -- cgit v1.2.3