create-zuplo-api 6.67.13 → 6.67.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"version": "1.0.0",
|
|
5
|
-
"title": "
|
|
5
|
+
"title": "Todo API",
|
|
6
|
+
"description": "A simple task management API that lets you create, read, update, and delete todo items. Use this API to build productivity apps, task trackers, or integrate task management into your existing workflows.\n\n## Getting Started\n\nAll endpoints accept and return JSON. To create your first todo, send a `POST` request to `/todos` with a title and userId.\n\n## Authentication\n\nThis sample API does not require authentication. Add [API key authentication](https://zuplo.com/docs/policies/api-key-inbound) or any other policy via your Zuplo gateway configuration.",
|
|
7
|
+
"contact": {
|
|
8
|
+
"name": "API Support",
|
|
9
|
+
"url": "https://zuplo.com/docs",
|
|
10
|
+
"email": "support@zuplo.com"
|
|
11
|
+
}
|
|
6
12
|
},
|
|
7
13
|
"paths": {
|
|
8
14
|
"/todos": {
|
|
@@ -219,9 +225,16 @@
|
|
|
219
225
|
}
|
|
220
226
|
}
|
|
221
227
|
},
|
|
228
|
+
"tags": [
|
|
229
|
+
{
|
|
230
|
+
"name": "Todo",
|
|
231
|
+
"description": "Endpoints for managing todo items including creating, listing, updating, and deleting tasks."
|
|
232
|
+
}
|
|
233
|
+
],
|
|
222
234
|
"components": {
|
|
223
235
|
"schemas": {
|
|
224
236
|
"Todo": {
|
|
237
|
+
"description": "A complete todo item as returned by the API, including its system-assigned ID.",
|
|
225
238
|
"type": "object",
|
|
226
239
|
"properties": {
|
|
227
240
|
"id": {
|
|
@@ -244,6 +257,7 @@
|
|
|
244
257
|
"required": ["id", "title", "completed", "userId"]
|
|
245
258
|
},
|
|
246
259
|
"CreateTodo": {
|
|
260
|
+
"description": "The request body for creating a new todo. Only a title and userId are required.",
|
|
247
261
|
"type": "object",
|
|
248
262
|
"properties": {
|
|
249
263
|
"title": {
|
|
@@ -263,6 +277,7 @@
|
|
|
263
277
|
"required": ["title", "userId"]
|
|
264
278
|
},
|
|
265
279
|
"UpdateTodo": {
|
|
280
|
+
"description": "The request body for updating a todo. All fields are optional so you can patch individual properties.",
|
|
266
281
|
"type": "object",
|
|
267
282
|
"properties": {
|
|
268
283
|
"title": {
|