Skip to content

Commit

Permalink
fix!: remove duplication in simple extensions schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrobbel committed Dec 9, 2022
1 parent 7f272f1 commit a88481e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions text/simple_extensions_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ properties:
name:
type: string
structure:
oneOf:
- type: string # any data type
- type: object # syntactic sugar for a non-nullable named struct
additionalProperties:
$ref: "#/$defs/type"
$ref: "#/$defs/type"
parameters: # parameter list for compound types
$ref: "#/$defs/type_param_defs"
variadic: # when set, last parameter may be specified one or more times
Expand Down Expand Up @@ -56,8 +52,8 @@ properties:
$defs:
type:
oneOf:
- type: string
- type: object
- type: string # any data type
- type: object # syntactic sugar for a non-nullable named struct
type_param_defs: # an array of compound type parameter definitions
type: array
items:
Expand Down

0 comments on commit a88481e

Please sign in to comment.