// Package docs Code generated by swaggo/swag. DO NOT EDIT
package docs

import "github.com/swaggo/swag"

const docTemplate = `{
    "schemes": {{ marshal .Schemes }},
    "swagger": "2.0",
    "info": {
        "description": "{{escape .Description}}",
        "title": "{{.Title}}",
        "termsOfService": "http://swagger.io/terms/",
        "contact": {
            "name": "API Support",
            "email": "fiber@swagger.io"
        },
        "license": {
            "name": "Apache 2.0",
            "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
        },
        "version": "{{.Version}}"
    },
    "host": "{{.Host}}",
    "basePath": "{{.BasePath}}",
    "paths": {
        "/api/v1/auth/login": {
            "post": {
                "description": "get accounts",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "auth"
                ],
                "summary": "Login accounts",
                "parameters": [
                    {
                        "description": "query params",
                        "name": "request",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.LoginDTO"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_LoginResult"
                        }
                    }
                }
            }
        },
        "/api/v1/auth/register": {
            "post": {
                "description": "get accounts",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "auth"
                ],
                "summary": "Register accounts",
                "parameters": [
                    {
                        "description": "query params",
                        "name": "request",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.RegisterDTO"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_RegisterResult"
                        }
                    }
                }
            }
        },
        "/api/v1/ppob/products": {
            "get": {
                "description": "get all product with pagination",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ppob"
                ],
                "summary": "Get All Product",
                "parameters": [
                    {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "collectionFormat": "csv",
                        "name": "categories",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "description",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "limit",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "name",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "price",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "quantity",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "sku",
                        "in": "query"
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Created",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_dto_GetAllProductPaginateResDTO"
                        }
                    }
                }
            }
        },
        "/api/v1/ppob/sync-iak": {
            "get": {
                "description": "get all product with pagination",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ppob"
                ],
                "summary": "Get All Product",
                "parameters": [
                    {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "collectionFormat": "csv",
                        "name": "categories",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "description",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "limit",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "name",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "price",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "quantity",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "sku",
                        "in": "query"
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Created",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_dto_GetAllProductPaginateResDTO"
                        }
                    }
                }
            }
        },
        "/api/v1/ppob/types": {
            "get": {
                "description": "get all product with pagination",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "ppob"
                ],
                "summary": "Get All Product",
                "parameters": [
                    {
                        "type": "integer",
                        "name": "limit",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "page",
                        "in": "query"
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Created",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_dto_GetAllPpobTypeResDTO"
                        }
                    }
                }
            }
        },
        "/api/v1/products": {
            "get": {
                "security": [
                    {
                        "JWT": []
                    }
                ],
                "description": "get all product with pagination",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "products"
                ],
                "summary": "Get All Product",
                "parameters": [
                    {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "collectionFormat": "csv",
                        "name": "categories",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "description",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "limit",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "name",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "price",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "quantity",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "sku",
                        "in": "query"
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Created",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_dto_GetAllProductPaginateResDTO"
                        }
                    }
                }
            },
            "post": {
                "security": [
                    {
                        "JWT": []
                    }
                ],
                "description": "add new product",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "products"
                ],
                "summary": "Create Product",
                "parameters": [
                    {
                        "description": "query params",
                        "name": "request",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.AddProductDTO"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Created",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_AddProductResult"
                        }
                    }
                }
            }
        },
        "/api/v1/products/{id}": {
            "put": {
                "security": [
                    {
                        "JWT": []
                    }
                ],
                "description": "update product",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "products"
                ],
                "summary": "Update Product",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "product id",
                        "name": "id",
                        "in": "path",
                        "required": true
                    },
                    {
                        "description": "query params",
                        "name": "request",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.UpdateProductDTO"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Created",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_UpdateProductResult"
                        }
                    }
                }
            }
        },
        "/api/v1/users": {
            "get": {
                "security": [
                    {
                        "JWT": []
                    }
                ],
                "description": "get accounts",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "accounts"
                ],
                "summary": "List accounts",
                "parameters": [
                    {
                        "type": "string",
                        "description": "user search by username",
                        "name": "username",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_SearchUserResult"
                        }
                    }
                }
            },
            "post": {
                "security": [
                    {
                        "JWT": []
                    }
                ],
                "description": "add new accounts",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "accounts"
                ],
                "summary": "Add accounts",
                "parameters": [
                    {
                        "description": "query params",
                        "name": "request",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.AddUser"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_AddUserResult"
                        }
                    }
                }
            }
        },
        "/api/v1/users/:id": {
            "get": {
                "security": [
                    {
                        "JWT": []
                    }
                ],
                "description": "get accounts",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "accounts"
                ],
                "summary": "Get accounts",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "Account ID",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_GetUserResult"
                        }
                    }
                }
            },
            "put": {
                "security": [
                    {
                        "JWT": []
                    }
                ],
                "description": "get accounts",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "accounts"
                ],
                "summary": "Get accounts",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "Account ID",
                        "name": "id",
                        "in": "path",
                        "required": true
                    },
                    {
                        "description": "query params",
                        "name": "request",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.UpdateUser"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_UpdateUserResult"
                        }
                    }
                }
            },
            "delete": {
                "security": [
                    {
                        "JWT": []
                    }
                ],
                "description": "delete accounts by id",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "accounts"
                ],
                "summary": "Delete accounts",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "Account ID",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_DeleteUserResult"
                        }
                    }
                }
            }
        }
    },
    "definitions": {
        "github_com_1layar_universe_pkg_shared_command.AddProductResult": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_command.AddUserResult": {
            "type": "object",
            "properties": {
                "email": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                },
                "password": {
                    "type": "string"
                },
                "role": {
                    "type": "integer"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_command.DeleteUserResult": {
            "type": "object",
            "properties": {
                "has_delete": {
                    "type": "boolean"
                },
                "id": {
                    "type": "integer"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_command.GetUserResult": {
            "type": "object",
            "properties": {
                "email": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                },
                "password": {
                    "type": "string"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_command.LoginResult": {
            "type": "object",
            "properties": {
                "access_token": {
                    "type": "string"
                },
                "expired_at": {
                    "type": "string"
                },
                "permission": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "refresh_token": {
                    "type": "string"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_command.RegisterResult": {
            "type": "object",
            "properties": {
                "access_token": {
                    "type": "string"
                },
                "expired_at": {
                    "type": "string"
                },
                "permission": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "refresh_token": {
                    "type": "string"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_command.SearchUserResult": {
            "type": "object",
            "properties": {
                "users": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_command.AddUserResult"
                    }
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_command.UpdateProductResult": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_command.UpdateUserResult": {
            "type": "object",
            "properties": {
                "email": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.AddProductDTO": {
            "type": "object",
            "required": [
                "category_ids",
                "description",
                "name",
                "picture_url",
                "price",
                "quantity",
                "sku"
            ],
            "properties": {
                "category_ids": {
                    "description": "many-to-many relationship with category_id",
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "description": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "picture_url": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "quantity": {
                    "type": "integer",
                    "minimum": 1
                },
                "sku": {
                    "type": "string"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.AddUser": {
            "type": "object",
            "required": [
                "email",
                "password",
                "role",
                "username"
            ],
            "properties": {
                "email": {
                    "type": "string"
                },
                "password": {
                    "type": "string",
                    "minLength": 6
                },
                "role": {
                    "type": "integer",
                    "enum": [
                        0,
                        1
                    ]
                },
                "username": {
                    "type": "string",
                    "maxLength": 20,
                    "minLength": 5
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.CategoryDTO": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GetAllPpobTypeResDTO": {
            "type": "object",
            "properties": {
                "data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.PPobTypeDTO"
                    }
                },
                "limit": {
                    "type": "integer"
                },
                "page": {
                    "type": "integer"
                },
                "total": {
                    "type": "integer"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GetAllProductPaginateResDTO": {
            "type": "object",
            "properties": {
                "data": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.ProductDTO"
                    }
                },
                "limit": {
                    "type": "integer"
                },
                "page": {
                    "type": "integer"
                },
                "total": {
                    "type": "integer"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_AddProductResult": {
            "type": "object",
            "properties": {
                "data": {
                    "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_command.AddProductResult"
                },
                "message": {
                    "type": "string"
                },
                "success": {
                    "type": "boolean"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_AddUserResult": {
            "type": "object",
            "properties": {
                "data": {
                    "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_command.AddUserResult"
                },
                "message": {
                    "type": "string"
                },
                "success": {
                    "type": "boolean"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_DeleteUserResult": {
            "type": "object",
            "properties": {
                "data": {
                    "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_command.DeleteUserResult"
                },
                "message": {
                    "type": "string"
                },
                "success": {
                    "type": "boolean"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_GetUserResult": {
            "type": "object",
            "properties": {
                "data": {
                    "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_command.GetUserResult"
                },
                "message": {
                    "type": "string"
                },
                "success": {
                    "type": "boolean"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_LoginResult": {
            "type": "object",
            "properties": {
                "data": {
                    "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_command.LoginResult"
                },
                "message": {
                    "type": "string"
                },
                "success": {
                    "type": "boolean"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_RegisterResult": {
            "type": "object",
            "properties": {
                "data": {
                    "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_command.RegisterResult"
                },
                "message": {
                    "type": "string"
                },
                "success": {
                    "type": "boolean"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_SearchUserResult": {
            "type": "object",
            "properties": {
                "data": {
                    "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_command.SearchUserResult"
                },
                "message": {
                    "type": "string"
                },
                "success": {
                    "type": "boolean"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_UpdateProductResult": {
            "type": "object",
            "properties": {
                "data": {
                    "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_command.UpdateProductResult"
                },
                "message": {
                    "type": "string"
                },
                "success": {
                    "type": "boolean"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_command_UpdateUserResult": {
            "type": "object",
            "properties": {
                "data": {
                    "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_command.UpdateUserResult"
                },
                "message": {
                    "type": "string"
                },
                "success": {
                    "type": "boolean"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_dto_GetAllPpobTypeResDTO": {
            "type": "object",
            "properties": {
                "data": {
                    "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GetAllPpobTypeResDTO"
                },
                "message": {
                    "type": "string"
                },
                "success": {
                    "type": "boolean"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.GlobalHandlerResp-github_com_1layar_universe_pkg_shared_dto_GetAllProductPaginateResDTO": {
            "type": "object",
            "properties": {
                "data": {
                    "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.GetAllProductPaginateResDTO"
                },
                "message": {
                    "type": "string"
                },
                "success": {
                    "type": "boolean"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.LoginDTO": {
            "type": "object",
            "required": [
                "email",
                "password"
            ],
            "properties": {
                "email": {
                    "type": "string"
                },
                "password": {
                    "type": "string",
                    "minLength": 6
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.PPobTypeDTO": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.ProductDTO": {
            "type": "object",
            "properties": {
                "categories": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/github_com_1layar_universe_pkg_shared_dto.CategoryDTO"
                    }
                },
                "description": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                },
                "picture_url": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "quantity": {
                    "type": "integer"
                },
                "sku": {
                    "type": "string"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.RegisterDTO": {
            "type": "object",
            "required": [
                "email",
                "password",
                "username"
            ],
            "properties": {
                "email": {
                    "type": "string"
                },
                "password": {
                    "type": "string",
                    "minLength": 6
                },
                "username": {
                    "type": "string",
                    "maxLength": 20,
                    "minLength": 5
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.UpdateProductDTO": {
            "type": "object",
            "required": [
                "category_ids",
                "description",
                "name",
                "picture_url",
                "price",
                "quantity",
                "sku"
            ],
            "properties": {
                "category_ids": {
                    "description": "many-to-many relationship with category_id",
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "description": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "picture_url": {
                    "type": "string"
                },
                "price": {
                    "type": "string"
                },
                "quantity": {
                    "type": "integer",
                    "minimum": 1
                },
                "sku": {
                    "type": "string"
                }
            }
        },
        "github_com_1layar_universe_pkg_shared_dto.UpdateUser": {
            "type": "object",
            "required": [
                "email",
                "id",
                "password",
                "role",
                "username"
            ],
            "properties": {
                "email": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "password": {
                    "type": "string",
                    "minLength": 6
                },
                "role": {
                    "type": "integer",
                    "enum": [
                        0,
                        1
                    ]
                },
                "username": {
                    "type": "string",
                    "maxLength": 20,
                    "minLength": 5
                }
            }
        }
    },
    "securityDefinitions": {
        "JWT": {
            "description": "\"Type 'Bearer TOKEN' to correctly set the API Key\"",
            "type": "apiKey",
            "name": "Authorization",
            "in": "header"
        }
    }
}`

// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
	Version:          "1.0",
	Host:             "localhost:3000",
	BasePath:         "/",
	Schemes:          []string{},
	Title:            "Merasa API",
	Description:      "This is a sample swagger for Fiber",
	InfoInstanceName: "swagger",
	SwaggerTemplate:  docTemplate,
	LeftDelim:        "{{",
	RightDelim:       "}}",
}

func init() {
	swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
}
