From 0654c2209c078398309c399320c3279b2075c067 Mon Sep 17 00:00:00 2001 From: Afsl Thaj Date: Mon, 3 Jun 2024 13:59:41 +1000 Subject: [PATCH] Update yaml --- openapi/golem-service.yaml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/openapi/golem-service.yaml b/openapi/golem-service.yaml index 97eff78ee..ca0550b93 100644 --- a/openapi/golem-service.yaml +++ b/openapi/golem-service.yaml @@ -1865,18 +1865,27 @@ paths: $ref: '#/components/schemas/ErrorBody' components: schemas: - ApiDeployment: + ApiDefinitionInfo: type: object properties: - apiDefinitionId: + id: type: string version: type: string + required: + - id + - version + ApiDeployment: + type: object + properties: + apiDefinitions: + type: array + items: + $ref: '#/components/schemas/ApiDefinitionInfo' site: $ref: '#/components/schemas/ApiSite' required: - - apiDefinitionId - - version + - apiDefinitions - site ApiSite: type: object