{ "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" } } }, "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" } } }, "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" } } }, "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": { "$ref": "#/components/schemas/SimpleUser" } } } } } }, "security": [] } }