From edf1431da6ab59de62101baef171281d0c855f98 Mon Sep 17 00:00:00 2001 From: Christoph Kappestein Date: Wed, 9 Oct 2024 23:56:58 +0200 Subject: [PATCH] fix test --- .../openapi/expect/00_openapi.json | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/tests/Transformer/openapi/expect/00_openapi.json b/tests/Transformer/openapi/expect/00_openapi.json index 75812f2..7cded3c 100644 --- a/tests/Transformer/openapi/expect/00_openapi.json +++ b/tests/Transformer/openapi/expect/00_openapi.json @@ -147,6 +147,20 @@ }, "components": { "schemas": { + "Inline0062e6f7": { + "type": "struct", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, "Pet": { "type": "struct", "properties": { @@ -161,6 +175,13 @@ } } }, + "Inlined62a5ccb": { + "type": "array", + "schema": { + "type": "reference", + "target": "Pet" + } + }, "Pets": { "type": "array", "schema": { @@ -168,6 +189,17 @@ "target": "Pet" } }, + "Inlinee870fe0d": { + "type": "struct", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + } + }, "Error": { "type": "struct", "properties": {