{"openapi":"3.0.0","info":{"version":"1.0.0","title":"3DM API Documentation","description":""},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/DmitryNeposidjaka/3DM/1.0.0"},{"url":"https://localhost:83/api/v1/","description":"3DM Local"}],"paths":{"/tax_class":{"get":{"summary":"Returns a tax_classes list.","responses":{"200":{"description":"A user object.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":4},"name":{"type":"string","example":"Jessica Smith"}}}}}},"400":{"description":"The specified user ID is invalid (not a number)."},"404":{"description":"A user with the specified ID was not found."},"default":{"description":"Unexpected error"}}},"post":{"summary":"Creates a tax_class.","requestBody":{"required":true,"content":{"application/json":{"examples":{"descriptions":{"value":{"descriptions":[{"name":"test-1","language_id":1},{"name":"test-2","language_id":2}]}}}}}},"responses":{"200":{"description":"Created"}}}},"/tax_class/{id}":{"get":{"summary":"Returns the tax_class.","parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the tax_rate.","schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"200":{"description":"A user object.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":4},"name":{"type":"string","example":"Jessica Smith"}}}}}},"400":{"description":"The specified user ID is invalid (not a number)."},"404":{"description":"A user with the specified ID was not found."},"default":{"description":"Unexpected error"}}},"put":{"summary":"Update the tax_class.","parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the tax_rate.","schema":{"type":"integer","format":"int64","minimum":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"language_id":{"type":"integer"}},"required":["name","language_id"]}}}},"responses":{"201":{"description":"Updated"}}},"delete":{"summary":"Delete the tax_class.","parameters":[{"name":"id","in":"path","required":true,"description":"The ID of the tax_rate.","schema":{"type":"integer","format":"int64","minimum":1}}],"responses":{"201":{"description":"Deleted"}}}}}}