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