Skip to content

Commit

Permalink
use 3.0 syntax for multiple types
Browse files Browse the repository at this point in the history
  • Loading branch information
wirthual committed Jun 9, 2024
1 parent deca3f3 commit 6e29554
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ paths:
key:
type: string
value:
type: [string,integer]
type: integer
labelClass:
type: string
options:
Expand All @@ -330,7 +330,10 @@ paths:
id:
type: string
value:
type:[ string,integer]
type:

Check failure on line 333 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Lint (push)

oas3-schema

"type" property type must be string.
oneOf:
- type: string
- type: integer
icon:
type: string
selected:
Expand Down Expand Up @@ -371,7 +374,10 @@ paths:
id:
type: string
value:
type: [string,integer]
type:

Check failure on line 377 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Lint (push)

oas3-schema

"type" property type must be string.
oneOf:
- type: string
- type: integer
selected:
type: boolean
metaInfos:
Expand All @@ -381,7 +387,10 @@ paths:
type: object
properties:
rows:
type: [integer,string]
type:

Check failure on line 390 in openapi.yaml

View workflow job for this annotation

GitHub Actions / Lint (push)

oas3-schema

"type" property type must be string.
oneOf:
- type: string
- type: integer
geolabel:
type: string
latlon:
Expand Down

0 comments on commit 6e29554

Please sign in to comment.