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:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
articles:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/ArticleSummary'
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/ArticleSummary'
|
||||
|
||||
/api/search:
|
||||
get:
|
||||
@@ -145,12 +142,9 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
articles:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/ArticleSummary'
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/ArticleSummary'
|
||||
|
||||
/api/upload:
|
||||
post:
|
||||
|
||||
Reference in New Issue
Block a user