diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-16 20:55:01 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-16 20:55:01 -0700 |
commit | 39456677cdc9768ad0dea76be4fd36735eec3ed2 (patch) | |
tree | 378dbea08ba05030a6ede6ca17233bc18fc6c756 /rust/fatcat-api/api | |
parent | 7476d63f0b9adec8087919a776b1bc4bf14b157d (diff) | |
download | fatcat-39456677cdc9768ad0dea76be4fd36735eec3ed2.tar.gz fatcat-39456677cdc9768ad0dea76be4fd36735eec3ed2.zip |
simplify API a bit
Diffstat (limited to 'rust/fatcat-api/api')
-rw-r--r-- | rust/fatcat-api/api/swagger.yaml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/rust/fatcat-api/api/swagger.yaml b/rust/fatcat-api/api/swagger.yaml index 3d3c2591..8dddf317 100644 --- a/rust/fatcat-api/api/swagger.yaml +++ b/rust/fatcat-api/api/swagger.yaml @@ -1037,8 +1037,6 @@ definitions: type: "string" publisher: type: "string" - parent: - type: "string" name: type: "string" state: @@ -1058,7 +1056,6 @@ definitions: type: "integer" example: redirect: "redirect" - parent: "parent" editgroup: 6 issn: "issn" ident: "ident" @@ -1104,6 +1101,8 @@ definitions: upperCaseName: "FILE_ENTITY" release_entity: type: "object" + required: + - "title" properties: issue: type: "string" @@ -1115,11 +1114,11 @@ definitions: type: "string" release_type: type: "string" - license: + container_id: type: "string" - container: + work_id: type: "string" - work: + title: type: "string" state: type: "string" @@ -1137,18 +1136,18 @@ definitions: editgroup: type: "integer" example: - container: "container" redirect: "redirect" + work_id: "work_id" editgroup: 6 issue: "issue" - work: "work" ident: "ident" release_type: "release_type" + title: "title" revision: 0 volume: "volume" - license: "license" pages: "pages" state: "wip" + container_id: "container_id" doi: "doi" upperCaseName: "RELEASE_ENTITY" work_entity: |