diff --git a/src/lib/test/adt-to-open-api-open-api.yml b/src/lib/test/adt-to-open-api-open-api.yml index cd1b4ab..ddeeaaa 100644 --- a/src/lib/test/adt-to-open-api-open-api.yml +++ b/src/lib/test/adt-to-open-api-open-api.yml @@ -7,8 +7,11 @@ components: type: boolean dec: type: double + type: + type: string required: - bool + - type discriminator: propertyName: type mapping: diff --git a/src/lib/test/adt-to-open-api-trust.yml b/src/lib/test/adt-to-open-api-trust.yml index 785b900..f72f91e 100644 --- a/src/lib/test/adt-to-open-api-trust.yml +++ b/src/lib/test/adt-to-open-api-trust.yml @@ -7,6 +7,8 @@ defs: dec: type: dec opt: true + type: + type: str adt: var: type map: