{
    "basePath": "http://localhost/taxmapp-api/public",
    "swaggerVersion": "1.2",
    "apiVersion": "1.0.0",
    "resourcePath": "/tax-calculation",
    "apis": [
        {
            "path": "/v2/download-xml",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Download Xml",
                    "nickname": "downloadXml",
                    "parameters": [
                        {
                            "paramType": "path",
                            "name": "xml",
                            "type": "string",
                            "required": true,
                            "allowMultiple": false,
                            "description": "xml"
                        }
                    ],
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                }
            ]
        },
        {
            "path": "/v2/generate-xml/{yearId}",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Get form by year",
                    "nickname": "form",
                    "parameters": [
                        {
                            "paramType": "path",
                            "name": "yearId",
                            "type": "string",
                            "required": true,
                            "allowMultiple": false,
                            "description": "Year number"
                        }
                    ],
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                }
            ]
        },
        {
            "path": "/v2/params/{id}",
            "operations": [
                {
                    "method": "GET",
                    "summary": "params",
                    "nickname": "params",
                    "parameters": [
                        {
                            "paramType": "path",
                            "name": "id",
                            "type": "string",
                            "required": true,
                            "allowMultiple": false,
                            "description": "ID"
                        }
                    ],
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                }
            ]
        },
        {
            "path": "/v2/poll",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Get form by year",
                    "nickname": "form",
                    "parameters": [
                        {
                            "paramType": "path",
                            "name": "xml",
                            "type": "string",
                            "required": true,
                            "allowMultiple": false,
                            "description": "xml"
                        }
                    ],
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                }
            ]
        },
        {
            "path": "/v2/submit",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Get form by year",
                    "nickname": "form",
                    "parameters": [
                        {
                            "paramType": "path",
                            "name": "xml",
                            "type": "string",
                            "required": true,
                            "allowMultiple": false,
                            "description": "xml"
                        }
                    ],
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                }
            ]
        },
        {
            "path": "/v2/tax-calculation/{yearId}",
            "operations": [
                {
                    "method": "POST",
                    "summary": "Get form by year",
                    "nickname": "form",
                    "parameters": [
                        {
                            "paramType": "path",
                            "name": "yearId",
                            "type": "string",
                            "required": true,
                            "allowMultiple": false,
                            "description": "Year number"
                        }
                    ],
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                }
            ]
        },
        {
            "path": "/v2/tax-calculation/{yearId}/export",
            "operations": [
                {
                    "method": "GET",
                    "summary": "Get form by year",
                    "nickname": "form",
                    "parameters": [
                        {
                            "paramType": "path",
                            "name": "yearId",
                            "type": "string",
                            "required": true,
                            "allowMultiple": false,
                            "description": "Year number"
                        }
                    ],
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                }
            ]
        }
    ],
    "produces": [
        "application/json"
    ]
}