From cc74f7966601fd88d497aa93622de6918ff76619 Mon Sep 17 00:00:00 2001 From: GitHub Action Bot Date: Thu, 11 May 2023 19:31:47 +0000 Subject: [PATCH] Automated commit by github action: 4951787144 --- static/api-specs/idn/beta/paths/accounts.yaml | 12 +++++------- static/api-specs/idn/beta/schemas/FullAccount.yaml | 2 +- static/api-specs/idn/beta/schemas/SlimAccount.yaml | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/static/api-specs/idn/beta/paths/accounts.yaml b/static/api-specs/idn/beta/paths/accounts.yaml index a1c6233c4..df2dc719d 100644 --- a/static/api-specs/idn/beta/paths/accounts.yaml +++ b/static/api-specs/idn/beta/paths/accounts.yaml @@ -56,13 +56,11 @@ get: content: application/json: schema: - oneOf: - - type: array - items: - $ref: '../schemas/SlimAccount.yaml' - - type: array - items: - $ref: '../schemas/FullAccount.yaml' + type: array + items: + oneOf: + - $ref: '../schemas/SlimAccount.yaml' + - $ref: '../schemas/FullAccount.yaml' examples: SlimAccounts: description: List of slim accounts that would result with *detailLevel = SLIM* diff --git a/static/api-specs/idn/beta/schemas/FullAccount.yaml b/static/api-specs/idn/beta/schemas/FullAccount.yaml index 128d256a7..9e433043a 100644 --- a/static/api-specs/idn/beta/schemas/FullAccount.yaml +++ b/static/api-specs/idn/beta/schemas/FullAccount.yaml @@ -1,6 +1,6 @@ # The Full version of the Account DTO which contains data stored on the DB objects # other than just the Account object -#type: object +type: object title: Full Account allOf: - $ref: './SlimAccount.yaml' diff --git a/static/api-specs/idn/beta/schemas/SlimAccount.yaml b/static/api-specs/idn/beta/schemas/SlimAccount.yaml index efa41a302..cfdc5c182 100644 --- a/static/api-specs/idn/beta/schemas/SlimAccount.yaml +++ b/static/api-specs/idn/beta/schemas/SlimAccount.yaml @@ -1,5 +1,5 @@ # The Slim version of the Account DTO containing only data from the Account object -#type: object +type: object title: Slim Account allOf: - $ref: './BaseCommonDto.yaml'