text: module.exports = {
    definition: {
      openapi: '3.0.1',
      info: {
        title: 'ecosoap-be',
        version: '0.1.0',
        description:
          'ecosoap-be',
        license: {
          name: 'MIT',
          url: 'https://en.wikipedia.org/wiki/MIT_License',
        },
      },
      tags: [
        {
          name: 'status',
          description: 'Everything about your status',
        },
        {
          name: 'profile',
          description: 'Operations for profile',
        },
      ],
      components: {
        securitySchemes: {
          okta: {
            type: 'http',
            scheme: 'bearer',
            bearerFormat: 'Okta idToken JWT',
          },
        },
        responses: {
          UnauthorizedError: {
            description: 'Access token is missing or invalid',
          },
          BadRequest: {
            description: 'Bad request. profile already exists',
          },
          NotFound: {
            description: 'Not Found',
            content: {
              'application/json': {
                schema: {
                  type: 'object',
                  properties: {
                    message: {
                      type: 'string',
                      description: 'A message about the result',
                      example: 'Not Found',
                    },
                  },
                },
              },
            },
          },
        },
      },
    },
    apis: ['./api/**/*Router.js'],
  };
  