{"openapi":"3.0.1","info":{"title":"360-Admin","description":"360-Admin Portal - Backend","version":"1.0.0"},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/3932/360-Admin/1.0.0"},{"url":"http://localhost:3015"},{"url":"https://api-sandbox.360f.com/360-admin"}],"paths":{"/api/v1/auth/token":{"post":{"tags":["Auth"],"summary":"Login","description":"Login by username and password","requestBody":{"description":"inputs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Login"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}},"500":{"description":"Server error","content":{"application/json":{"example":{"statusCode":500,"message":"Server error"}}}}}}}},"components":{"schemas":{"Login":{"required":["username","password"],"type":"object","properties":{"username":{"type":"string","description":"username/email","example":"admin.dev@360f.com"},"password":{"type":"string","description":"your password","example":"abc@123"}}},"Token":{"type":"object","properties":{"data":{"type":"string","description":"Bearer token","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImVhMjI0MmQw..."}}}},"securitySchemes":{"apiKeyHeader":{"type":"apiKey","name":"Ocp-Apim-Subscription-Key","in":"header"},"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Bearer token"},"tenantHeader":{"type":"apiKey","name":"X-TENANT-ID","in":"header"}}},"security":[{"apiKeyHeader":[]},{"bearerAuth":[]},{"tenantHeader":[]}],"tags":[{"name":"FileManagement"}]}