From adc9ad735cbce6a1fe5918eee1be988d733309cc Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 14 Jan 2019 20:56:39 -0800 Subject: more IDENT types in API schema --- fatcat-openapi2.yml | 24 ++++++++---------------- 1 file 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: -- cgit v1.2.3