{"openapi":"3.0.3","info":{"title":"3o3 Swagger","description":"3o3 swagger config","version":"1.0.2"},"servers":[{"url":"http://localhost:8080","description":"Inferred Url"}],"tags":[{"name":"tax-controller","description":"Tax Controller"},{"name":"user-controller","description":"User Controller"}],"paths":{"/szs/refund":{"get":{"tags":["tax-controller"],"summary":"환급액 계산","description":"유저의 스크랩 정보를 바탕으로 유저의 환급액을 계산한다.","operationId":"refundUsingGET","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"Authorization":["global"]}]}},"/szs/scrap":{"post":{"tags":["tax-controller"],"summary":"가입 유저 스크랩","description":"가입한 유저의 정보를 스크랩한다.","operationId":"scrapUsingPOST","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"Authorization":["global"]}]}},"/szs/login":{"post":{"tags":["user-controller"],"summary":"로그인","description":"가입한 회원으로 로그인한다.","operationId":"loginUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/szs/me":{"get":{"tags":["user-controller"],"summary":"내 정보","description":"가입한 회원 정보를 가져온다.","operationId":"meUsingGET","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"Authorization":["global"]}]}},"/szs/signup":{"post":{"tags":["user-controller"],"summary":"회원 가입","description":"회원가입 가능 유저에 한하여 가입 가능하다.","operationId":"signupUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupDto"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}}},"components":{"schemas":{"SignupDto":{"title":"SignupDto","type":"object","properties":{"name":{"type":"string"},"password":{"type":"string"},"regNo":{"type":"string"},"userId":{"type":"string"}}},"User":{"title":"User","type":"object","properties":{"name":{"type":"string"},"password":{"type":"string"},"regNo":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"userId":{"type":"string"}}}},"securitySchemes":{"Authorization":{"type":"apiKey","name":"Authorization","in":"header"}}}}