import { Status } from '@ditsmod/core';
import { openapi } from '@ts-stack/openapi-spec';
/**
 * Used inside OpenAPI models to indicates whether requestBody property is required or not.
 */
export const REQUIRED = 'x-required';
export const DEFAULT_OAS_OBJECT = {
    openapi,
    servers: [{ url: 'http://0.0.0.0:3000' }],
    info: { title: '@ditsmod/openapi with default value', version: '0.0.0' },
    tags: [],
    components: {},
};
export const defaultForNonOasGuard = {
    securitySchemeObject: {
        type: 'http',
        scheme: 'bearer',
        bearerFormat: 'JWT',
        description: 'See docs for [Bearer Authentication](https://swagger.io/docs/specification/authentication/bearer-authentication/)',
    },
    responses: {
        [Status.UNAUTHORIZED]: {
            $ref: '#/components/responses/UnauthorizedError',
        },
    },
};
//# sourceMappingURL=constants.js.map