2020-06-20 19:25:32 +02:00
|
|
|
test1:
|
|
|
|
responses:
|
2020-07-01 21:19:49 +02:00
|
|
|
"200":
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2020-08-12 05:37:04 +02:00
|
|
|
type: object
|
2020-07-01 21:19:49 +02:00
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
top_array:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
oneOf:
|
|
|
|
- type: object
|
|
|
|
properties:
|
|
|
|
obj:
|
|
|
|
oneOf:
|
|
|
|
- type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
- type: object
|
|
|
|
properties:
|
|
|
|
str3:
|
|
|
|
type: string
|
|
|
|
- type: array
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
str1:
|
|
|
|
type: string
|
|
|
|
str2:
|
|
|
|
type: string
|
|
|
|
example:
|
|
|
|
{
|
|
|
|
"top_array":
|
|
|
|
[
|
2020-07-15 20:45:38 +02:00
|
|
|
{"obj": {"str3": "test"}},
|
|
|
|
[{"str1": "success", "str2": "success"}],
|
2020-07-01 21:19:49 +02:00
|
|
|
],
|
|
|
|
}
|
2020-06-20 19:25:32 +02:00
|
|
|
test2:
|
|
|
|
responses:
|
2020-07-01 21:19:49 +02:00
|
|
|
"200":
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2020-08-12 05:37:04 +02:00
|
|
|
type: object
|
2020-07-01 21:19:49 +02:00
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
top_array:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
oneOf:
|
|
|
|
- type: object
|
|
|
|
properties:
|
|
|
|
obj:
|
|
|
|
oneOf:
|
|
|
|
- type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
- type: object
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
str3:
|
|
|
|
type: string
|
|
|
|
- type: array
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
str1:
|
|
|
|
type: string
|
|
|
|
str2:
|
|
|
|
type: string
|
|
|
|
example:
|
|
|
|
{
|
|
|
|
"top_array":
|
|
|
|
[
|
2020-07-15 20:45:38 +02:00
|
|
|
{"obj": {"str3": "test", "str4": "extraneous"}},
|
|
|
|
[{"str1": "success", "str2": "success"}],
|
2020-07-01 21:19:49 +02:00
|
|
|
],
|
|
|
|
}
|
2020-06-20 19:25:32 +02:00
|
|
|
test3:
|
|
|
|
responses:
|
2020-07-01 21:19:49 +02:00
|
|
|
"200":
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2020-08-12 05:37:04 +02:00
|
|
|
type: object
|
2020-07-01 21:19:49 +02:00
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
top_array:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
oneOf:
|
|
|
|
- type: object
|
|
|
|
properties:
|
|
|
|
obj:
|
|
|
|
oneOf:
|
|
|
|
- type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
- type: object
|
|
|
|
- type: array
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
str1:
|
|
|
|
type: string
|
|
|
|
str2:
|
|
|
|
type: string
|
|
|
|
example:
|
|
|
|
{
|
|
|
|
"top_array":
|
|
|
|
[
|
2020-07-15 20:45:38 +02:00
|
|
|
{"obj": {"str3": "test"}},
|
|
|
|
[{"str1": "success", "str2": "success"}],
|
2020-07-01 21:19:49 +02:00
|
|
|
],
|
|
|
|
}
|