openapi: 3.2.0 info: title: Dash User Authentication API description: Open Source APIs for all! contact: name: Know more about API Dash url: https://apidash.dev/ version: 0.0.4 tags: - name: User Authentication paths: /auth/login: post: tags: - User Authentication summary: Login For Access Token operationId: login_for_access_token_auth_login_post parameters: - name: username in: query required: true schema: type: string title: Username - name: password in: query required: true schema: type: string title: Password responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /auth/logout: post: tags: - User Authentication summary: Logout operationId: logout_auth_logout_post responses: '200': description: Successful Response content: application/json: schema: {} components: schemas: ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type type: object required: - loc - msg - type title: ValidationError HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError securitySchemes: OAuth2PasswordBearer: type: oauth2 flows: password: scopes: {} tokenUrl: /login