openapi: 3.2.0 info: title: Wego Health API description: 'Wego''s travel API: places, flights, hotels and fares. Please see https://docs.wego.com for more details.' version: 0.19.0 servers: - url: https://api.wego.com security: - oauth2: [] - bearerAuth: [] tags: - name: Health paths: /health: get: operationId: getHealth summary: Health check description: Liveness probe. security: [] responses: '200': description: The API is up. content: application/json: schema: type: object properties: status: type: string const: healthy description: Always "healthy" when the service is answering. commit: description: Git commit SHA of the running build; absent when the platform supplied none. type: string required: - status tags: - Health components: securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT description: 'Wego auth server access token, sent as `Authorization: Bearer ` (RFC 6750).' oauth2: type: oauth2 description: OAuth2 authorization-code flow (PKCE supported) against the Wego auth server. flows: authorizationCode: authorizationUrl: https://auth.wego.com/user-auth/v2/users/oauth/authorize tokenUrl: https://auth.wego.com/user-auth/v2/users/oauth/token x-scalar-client-id: 251815b9647317f4895122fd4924b7d44541d8fcc27be528435e3ad9bbf7e1ee x-usePkce: SHA-256 scopes: openid: OpenID Connect sign-in. profile: Basic profile claims. users: User identity for the API. x-default-scopes: - openid - profile - users