{"openapi":"3.0.0","servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/XXARTURKROSSXX/aaaaaaaaaaaaaaa/1.0.0"}],"info":{"version":"1.0.0","title":"Accounting","description":"The API for the EatBacon IOT project"},"components":{"schemas":{"add":{"properties":{"id":{"type":"integer"},"title":{"type":"string"},"userId":{"type":"integer"},"text":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date"},"updatedAt":{"type":"string","format":"date"}}},"edit":{"properties":{"id":{"type":"integer"},"title":{"type":"string"},"userId":{"type":"integer"},"text":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date"},"updatedAt":{"type":"string","format":"date"}}},"get":{"properties":{"id":{"type":"integer"},"title":{"type":"string"},"userId":{"type":"integer"},"text":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string","format":"date"},"updatedAt":{"type":"string","format":"date"}}}}},"paths":{"/account/farmerBlog/addImage":{"post":{"tags":["FarmerBlog"],"description":"returns all category of user(and with flag)","responses":{"200":{"description":"ok"}},"requestBody":{"content":{"image/*":{"schema":{"type":"string","format":"binary"}}}}}},"/account/farmerBlog/add":{"post":{"tags":["FarmerBlog"],"description":"returns all category of user(and with flag)","responses":{"200":{"description":"ok"}},"requestBody":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/add"}}}}}}},"/account/farmerBlog/edit":{"put":{"tags":["FarmerBlog"],"operationId":"edit","responses":{"200":{"description":"ok"}},"requestBody":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/edit"}}}}}}},"/account/farmerBlog/delete?id={id}":{"delete":{"tags":["FarmerBlog"],"operationId":"delete","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true,"description":"Numeric ID of the blog"}],"responses":{"200":{"description":"ok"}}}},"/farmerBlog/blogs/{id}":{"get":{"tags":["FarmerBlog"],"operationId":"get","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true,"description":"Numeric ID of the blog"}],"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/get"}}}}}}}}}}