Skip to content

Commit

Permalink
Merge pull request #1907 from blast-hardcheese/schema-typo
Browse files Browse the repository at this point in the history
Fix parser warning for #264
  • Loading branch information
blast-hardcheese authored Dec 26, 2023
2 parents 10eb849 + 1fb34f9 commit 6569fee
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions modules/sample/src/main/resources/issues/issue264.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ paths:
get:
operationId: getFoo
parameters:
- in: query
name: FooEnum
$ref: "#/components/schemas/FooEnum"
required: true
- $ref: "#/components/parameters/FooEnum"
responses:
204:
description: OK
Expand All @@ -22,3 +19,10 @@ components:
- foo-bar-1
- baz-quux-2-flurb
# - 3-moo-cow
parameters:
FooEnum:
in: query
name: FooEnum
required: true
schema:
$ref: '#/components/schemas/FooEnum'

0 comments on commit 6569fee

Please sign in to comment.