diff --git a/api.yaml b/api.yaml index e2fdf26..d74b075 100644 --- a/api.yaml +++ b/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: