You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/cmd/testdata/edgecase/openapi_spec.yml
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,24 @@ info:
4
4
description: This is a fake API spec that was built to test some of the less common API schema structures and their mapping in the OpenAPI to Framework code generator
5
5
version: 1.0.0
6
6
paths:
7
+
/obj_no_type:
8
+
get:
9
+
summary: Test for objects that have no types!
10
+
responses:
11
+
"200":
12
+
description: OK
13
+
content:
14
+
application/json:
15
+
schema:
16
+
properties:
17
+
string_prop:
18
+
description: String inside an object!
19
+
type: string
20
+
nested_obj:
21
+
properties:
22
+
bool_prop:
23
+
description: Bool inside a nested object!
24
+
type: boolean
7
25
/nested_collections:
8
26
get:
9
27
summary: Test for nested collections (list within a list, set within a list, map within a list)
0 commit comments