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
removed pagination for GET languages and GET categories (#340)
* removed pagination for GET languages and GET categories
* removed references to pagination in docs
* multiple
removed pagination references, updated total_counts, added assertions
for test_languages and test_categories, changed all "Linux" references
to "Unix/Linux/*nix" in resources.yml
* fixed test failure on test_languages
Copy file name to clipboardExpand all lines: app/static/openapi.yaml
+20-50Lines changed: 20 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,7 @@ paths:
167
167
/categories:
168
168
get:
169
169
summary: List Categories
170
-
description: Gets a list of all available categories. Note: The `page` attribute in the response of the `/search` endpoint begins with `0`, but the `page` attribute in the response of the `List Categories` endpoint begins with `1`.
170
+
description: Gets a list of all available categories.
171
171
tags:
172
172
- List Categories
173
173
responses:
@@ -210,24 +210,25 @@ paths:
210
210
name: 'Docker'
211
211
- id: 15
212
212
name: 'Regular Expressions'
213
-
- id: 1
213
+
- id: 16
214
214
name: 'Mentorship'
215
-
- id: 1
215
+
- id: 17
216
216
name: 'News'
217
-
- id: 1
217
+
- id: 18
218
218
name: 'Back End Dev'
219
-
- id: 1
219
+
- id: 19
220
220
name: 'Mobile Dev'
221
-
- id: 1
221
+
- id: 20
222
222
name: 'Cheat Sheets'
223
-
has_next: true
224
-
has_prev: false
225
-
number_of_pages: 4
226
-
page: 1
227
-
records_per_page: 20
223
+
- id: 21
224
+
name: 'Open Source'
225
+
- id: 22
226
+
name: 'Front End Dev'
227
+
- id: 23
228
+
name: 'Web Design'
228
229
status: 'ok'
229
230
status_code: 200
230
-
total_count: 72
231
+
total_count: 23
231
232
404:
232
233
$ref: '#/components/responses/NotFound'
233
234
/categories/{id}:
@@ -265,7 +266,7 @@ paths:
265
266
/languages:
266
267
get:
267
268
summary: List Languages
268
-
description: Gets list of all available language entries. Note: The `page` attribute in the response of the `/search` endpoint begins with `0`, but the `page` attribute in the response of the `List Languages` endpoint begins with `1`.
269
+
description: Gets list of all available language entries.
0 commit comments