UNPKG

@ivamuno/nestjs-openapi

Version:
9 lines (8 loc) 363 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OpenApiOAuth2 = void 0; const api_oauth2_decorator_1 = require("@nestjs/swagger/dist/decorators/api-oauth2.decorator"); function OpenApiOAuth2(scopes, name = 'oauth2') { return api_oauth2_decorator_1.ApiOAuth2(scopes, name); } exports.OpenApiOAuth2 = OpenApiOAuth2;