Skip to content

Commit

Permalink
fix definition of adt in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wkarwacki committed Aug 20, 2024
1 parent 94d28e4 commit c19bd4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/test/adt-to-open-api-open-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ components:
type: boolean
dec:
type: double
type:
type: string
required:
- bool
- type
discriminator:
propertyName: type
mapping:
Expand Down
2 changes: 2 additions & 0 deletions src/lib/test/adt-to-open-api-trust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ defs:
dec:
type: dec
opt: true
type:
type: str
adt:
var: type
map:
Expand Down

0 comments on commit c19bd4c

Please sign in to comment.