You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to fully support article we need to implement a GET All articles,
according to following OpenAPI Spec.
/articles:
get:
tags:
- Articlessummary: Get recent articles globallydescription: Get most recent articles globally. Use query parameters to filterresults. Auth is optionaloperationId: GetArticlesparameters:
- name: tagin: querydescription: Filter by tagschema:
type: string
- name: authorin: querydescription: Filter by author (username)schema:
type: string
- name: favoritedin: querydescription: Filter by favorites of a user (username)schema:
type: string
- name: offsetParamin: queryname: offsetrequired: falseschema:
type: integerminimum: 0description: The number of items to skip before starting to collect the result set.
- name: limitParamin: queryname: limitrequired: falseschema:
type: integerminimum: 1default: 20description: The numbers of items to return.responses:
'200':
$ref: '#/components/responses/MultipleArticlesResponse''401':
$ref: '#/components/responses/Unauthorized''422':
$ref: '#/components/responses/GenericError'
Create the missing SQLDelight queries, and implement getAll in ArticlePersistence
Create articles.kt in routes if does not exist, or add getAll operation they're using ArticlePersistence.
Add test that verifies the behavior works
Please assign yourself to this ticket before starting, and if you run into any issues please raise a PR so I can provide help and support directly in the code.
Thank you in advance for your interest in the project! Happy hacktoberfest!
The text was updated successfully, but these errors were encountered:
In order to fully support article we need to implement a GET All articles,
according to following OpenAPI Spec.
MultipleArticlesResponse
domain object if it doesn't exist.getAll
inArticlePersistence
articles.kt
inroutes
if does not exist, or addgetAll
operation they're usingArticlePersistence
.Please assign yourself to this ticket before starting, and if you run into any issues please raise a PR so I can provide help and support directly in the code.
Thank you in advance for your interest in the project! Happy hacktoberfest!
The text was updated successfully, but these errors were encountered: