From f10c45b98fc7e1b6c2a092849ff52a2bb266f228 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Mon, 5 Aug 2024 19:03:59 -0400 Subject: [PATCH 1/2] Match property names with core capnp spec. --- openapi-v1.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi-v1.yaml b/openapi-v1.yaml index 90564d9..b0690aa 100644 --- a/openapi-v1.yaml +++ b/openapi-v1.yaml @@ -4816,9 +4816,9 @@ definitions: description: Contains the latest schema and all schemas for the opened array type: object properties: - latest_array_schema: + schema: $ref: "#/definitions/ArraySchema" - all_array_schemas: + arraySchemasAll: description: map of all array schemas type: object additionalProperties: From bcf622a216e12a34847a267ba0bf93a4b4a6e1ab Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Wed, 7 Aug 2024 15:36:10 -0400 Subject: [PATCH 2/2] Use ArraySchemaMap in v1 route. --- openapi-v1.yaml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/openapi-v1.yaml b/openapi-v1.yaml index b0690aa..bdae965 100644 --- a/openapi-v1.yaml +++ b/openapi-v1.yaml @@ -677,6 +677,26 @@ definitions: type: "ArraySchema" embedded: true + ArraySchemaMap: + type: object + description: array's schemas + properties: + entries: + description: List of array schemas entries + type: array + x-omitempty: true + items: + $ref: "#/definitions/ArraySchemaEntry" + + ArraySchemaEntry: + type: object + description: key/value pair representing an array schema map entry + properties: + key: + type: string + value: + $ref: "#/definitions/ArraySchema" + AttributeBufferHeader: description: Represents an attribute buffer header information type: object @@ -4817,12 +4837,11 @@ definitions: type: object properties: schema: + description: latest array schema $ref: "#/definitions/ArraySchema" arraySchemasAll: description: map of all array schemas - type: object - additionalProperties: - $ref: "#/definitions/ArraySchema" + $ref: "#/definitions/ArraySchemaMap" RetryStrategy: description: RetryStrategy provides controls on how to retry a taskgraph node