Skip to content

Commit e6bd4f7

Browse files
Ian ZelikmanIan Zelikman
Ian Zelikman
authored and
Ian Zelikman
committed
Update the broken examples
1 parent 44ba8e8 commit e6bd4f7

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

lessons/lesson-1.01/default_broken.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ info:
1515
name: Apache 2.0
1616
url: http://www.apache.org/licenses/LICENSE-2.0.html
1717
host: petstore.swagger.io
18-
basePath: /v2
18+
basePath:/v2
1919
schemes:
2020
- http
2121
paths:

lessons/lesson-1.01/echo_broken.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,15 @@ paths:
2121
responses:
2222
200:
2323
description: Echo POST
24-
parameters:
25-
24+
parameters
25+
- name: name
26+
in: formData
27+
description: name
28+
type: string
29+
- name: year
30+
in: formData
31+
description: year
32+
type: string
2633
/test-path/{id}:
2734
parameters:
2835
- name: id

0 commit comments

Comments
 (0)