{
    "openapi": "3.0.0",
    "info": {
        "title": "Todo List Api",
        "description": "Demo Todo List Api",
        "version": "1.0"
    },
    "paths": {
        "/api/v1/login": {
            "post": {
                "tags": [
                    "Login"
                ],
                "summary": "User connexion",
                "description": "Path to user connexion",
                "operationId": "e7990f489a0333ee155994cb899ea6a7",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "": {
                                        "properties": {
                                            "email": {
                                                "type": "string"
                                            },
                                            "password": {
                                                "type": "string"
                                            }
                                        },
                                        "type": "object"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "email": "string",
                                    "password": "string"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Log Information get",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "number",
                                            "example": "0"
                                        },
                                        "status_code": {
                                            "type": "string",
                                            "example": "string"
                                        },
                                        "status_message": {
                                            "type": "string",
                                            "example": "string"
                                        },
                                        "token": {
                                            "type": "string",
                                            "example": "string"
                                        },
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "number",
                                                        "example": "1"
                                                    },
                                                    "email": {
                                                        "type": "string",
                                                        "example": "test@gmail.com"
                                                    },
                                                    "password": {
                                                        "type": "string",
                                                        "example": "123456"
                                                    }
                                                },
                                                "type": "object"
                                            },
                                            "collectionFormat": "multi"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "invalid",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "number",
                                            "example": "0"
                                        },
                                        "status_code": {
                                            "type": "string",
                                            "example": "string"
                                        },
                                        "status_message": {
                                            "type": "string",
                                            "example": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}