diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-24 13:23:13 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-24 13:23:13 -0800 |
commit | 206acf1b37a1a34d5338c744e17ef2035cd2db58 (patch) | |
tree | 82a5407182d42ba44bf0821f96b403d37f111efe /rust/fatcat-api-spec/api.yaml | |
parent | e2b4675c34a6de76196255dc21389e225e54f22b (diff) | |
download | fatcat-206acf1b37a1a34d5338c744e17ef2035cd2db58.tar.gz fatcat-206acf1b37a1a34d5338c744e17ef2035cd2db58.zip |
codegen schema tweaks
Diffstat (limited to 'rust/fatcat-api-spec/api.yaml')
-rw-r--r-- | rust/fatcat-api-spec/api.yaml | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/rust/fatcat-api-spec/api.yaml b/rust/fatcat-api-spec/api.yaml index 14b70c39..e359de36 100644 --- a/rust/fatcat-api-spec/api.yaml +++ b/rust/fatcat-api-spec/api.yaml @@ -597,8 +597,7 @@ definitions: type: integer format: int64 creator_id: - type: string - #format: ident + <<: *FATCATIDENT creator: $ref: "#/definitions/creator_entity" description: "Optional; GET-only" @@ -866,8 +865,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /container/lookup: get: @@ -1155,8 +1153,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /creator/lookup: get: @@ -1421,8 +1418,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /file/lookup: get: @@ -1692,8 +1688,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /fileset/edit/{edit_id}: get: @@ -1929,8 +1924,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /webcapture/edit/{edit_id}: get: @@ -2235,8 +2229,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /release/lookup: get: @@ -2526,8 +2519,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /work/{ident}/releases: parameters: |