diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-14 20:56:39 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-14 20:56:39 -0800 |
commit | adc9ad735cbce6a1fe5918eee1be988d733309cc (patch) | |
tree | 28bb25799bc0d375607ae1cd11e9407c1302b80b | |
parent | 7119e7525516ebba8edd3110d2a08d29eb317484 (diff) | |
download | fatcat-adc9ad735cbce6a1fe5918eee1be988d733309cc.tar.gz fatcat-adc9ad735cbce6a1fe5918eee1be988d733309cc.zip |
more IDENT types in API schema
-rw-r--r-- | fatcat-openapi2.yml | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml index 70a27b76..140fbde3 100644 --- a/fatcat-openapi2.yml +++ b/fatcat-openapi2.yml @@ -581,8 +581,7 @@ definitions: type: integer format: int64 creator_id: - type: string - #format: ident + <<: *FATCATIDENT creator: $ref: "#/definitions/creator_entity" description: "Optional; GET-only" @@ -839,8 +838,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /container/lookup: get: @@ -1120,8 +1118,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /creator/lookup: get: @@ -1378,8 +1375,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /file/lookup: get: @@ -1641,8 +1637,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /fileset/edit/{edit_id}: get: @@ -1870,8 +1865,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /webcapture/edit/{edit_id}: get: @@ -2168,8 +2162,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /release/lookup: get: @@ -2443,8 +2436,7 @@ paths: schema: type: array items: - type: string - #format: ident + <<: *FATCATIDENT <<: *ENTITYRESPONSES /work/{ident}/releases: parameters: |