{ "apiFolder": "src/app/api", "definition": { "openapi": "3.0.0", "info": { "title": "MeetUP API", "version": "1.0" }, "components": { "schemas": { "ErrorResponse": { "type": "object", "properties": { "success": { "type": "boolean", "default": false }, "message": { "type": "string", "description": "Error message" } } }, "ZodErrorResponse": { "type": "object", "properties": { "success": { "type": "boolean", "default": false }, "message": { "type": "string", "description": "Error message" }, "errors": { "type": "array", "items": { "type": "object", "properties": { "path": { "type": "string" }, "message": { "type": "string" } } } } } }, "User": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "first_name": { "type": "string" }, "last_name": { "type": "string" }, "email": { "type": "string", "format": "email" }, "image": { "type": "string", "format": "uri" }, "timezone": { "type": "string", "description": "User timezone" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } }, "PublicUser": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "first_name": { "type": "string" }, "last_name": { "type": "string" }, "image": { "type": "string", "format": "uri" }, "timezone": { "type": "string", "description": "User timezone" } } }, "SimpleUser": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } } }, "Participant": { "type": "object", "properties": { "user": { "$ref": "#/components/schemas/SimpleUser" }, "status": { "type": "string" } } }, "Event": { "type": "object", "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "start_time": { "type": "string", "format": "date-time" }, "end_time": { "type": "string", "format": "date-time" }, "status": { "type": "string" }, "location": { "type": "string" }, "organizer": { "$ref": "#/components/schemas/SimpleUser" }, "participants": { "type": "array", "items": { "type": "object", "properties": { "user": { "$ref": "#/components/schemas/SimpleUser" }, "status": { "type": "string" } } } }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } }, "security": [] } }