Skip to content

Commit

Permalink
add back untyped object
Browse files Browse the repository at this point in the history
  • Loading branch information
bhelx committed Jul 18, 2024
1 parent 6e600c1 commit 88cb8ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion runner/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const KitchenSink = {
aFloat: 3.14,
aDouble: 3.141592653589793238462643383279502884197,
aBool: true,
//anUntypedObject: { hello: 'world' }, TODO uncomment after bug fix
anUntypedObject: { hello: 'world' },
anEnum: 'option1',
anEmbeddedObject: EmbeddedObject,
anEmbeddedObjectArray: [EmbeddedObject, EmbeddedObject]
Expand Down
9 changes: 4 additions & 5 deletions schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ schemas:
- anEnum
- anEmbeddedObject
- anEmbeddedObjectArray
#- anUntypedObject
- anUntypedObject
properties:
- name: anOptionalString
type: string
Expand All @@ -93,10 +93,9 @@ schemas:
- name: aBool
type: boolean
description: A Boolean
# TODO put back after bug fix
# - name: anUntypedObject
# type: object
# description: An untyped object
- name: anUntypedObject
type: object
description: An untyped object
- name: anEnum
description: A string enum (prop comment)
$ref: "#/schemas/AStringEnum"
Expand Down

0 comments on commit 88cb8ac

Please sign in to comment.