Changed responses from array in object to array
This commit is contained in:
6
api.yaml
6
api.yaml
@@ -98,9 +98,6 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
articles:
|
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/ArticleSummary'
|
$ref: '#/components/schemas/ArticleSummary'
|
||||||
@@ -145,9 +142,6 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
articles:
|
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/ArticleSummary'
|
$ref: '#/components/schemas/ArticleSummary'
|
||||||
|
|||||||
Reference in New Issue
Block a user