{"openapi":"3.1.0","servers":[{"url":"http:\/\/localhost"}],"paths":{"\/users":{"post":{"tags":["users"],"consumes":["application\/x-www-form-urlencoded"],"produces":["application\/json"],"parameters":[],"requestBody":{"required":true,"description":"","content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/usersObject"}}}},"responses":{"200":{"description":"Operation successfully done","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/postUsers200ResponseObject","type":"object"},"example":[{"id":1,"name":"admin","users":[{"id":1,"name":"admin"}]},{"id":2,"name":"client","users":[{"id":2,"name":"first_client"},{"id":3,"name":"second_client"}]}]}}}},"security":[{"jwt":[]}],"description":"","summary":"test","deprecated":false}},"\/api\/users":{"get":{"tags":["api"],"produces":["application\/json"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/getApiusers200ResponseObject","type":"object"},"example":{"current_page":1,"data":[{"id":1,"first_name":"Billy","last_name":"Coleman","email":"
[email protected]","created_at":null,"updated_at":null,"role_id":1,"date_of_birth":"1986-05-20","phone":"+79535482530","position":"admin","starts_on":"2022-04-16 00:00:00","hr_id":null,"manager_id":null,"lead_id":null,"avatar_id":null,"deleted_at":null,"company_id":1}],"first_page_url":"http:\/\/localhost\/api\/users?page=1","from":1,"last_page":1,"last_page_url":"http:\/\/localhost\/api\/users?page=1","links":[{"url":null,"label":"« Previous","active":false},{"url":"http:\/\/localhost\/api\/users?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"next_page_url":null,"path":"http:\/\/localhost\/api\/users","per_page":20,"prev_page_url":null,"to":1,"total":1}}}}},"security":[],"description":"","consumes":[]}}},"components":{"schemas":{"usersObject":{"type":"object","properties":{"query":{"type":"string","description":""},"user_id":{"type":"integer","description":"with_to_array_rule_string_name"},"is_email_enabled":{"type":"string","description":"test_rule_without_to_string"}},"example":{"users":[1,2],"query":null},"required":["query"]},"postUsers200ResponseObject":{"type":"array","properties":{"items":{"allOf":[{"type":"array"}]}}},"getApiusers200ResponseObject":{"type":"object","properties":{"current_page":{"type":"integer"},"data":{"type":"array"},"first_page_url":{"type":"string"},"from":{"type":"integer"},"last_page":{"type":"integer"},"last_page_url":{"type":"string"},"links":{"type":"array"},"next_page_url":{"nullable":true},"path":{"type":"string"},"per_page":{"type":"integer"},"prev_page_url":{"nullable":true},"to":{"type":"integer"},"total":{"type":"integer"}}}}},"info":{"description":"This is automatically collected documentation","version":"0.0.0","title":"Name of Your Application","termsOfService":"","contact":{"email":"
[email protected]"}},"securityDefinitions":{"jwt":{"type":"apiKey","name":"authorization","in":"header"}}}
0 commit comments