Skip to content

Commit

Permalink
chore(tsoa-deno): Rename tsoa to tsoa-deno
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Amhild committed Mar 22, 2024
1 parent 88c26b0 commit 2ea8372
Show file tree
Hide file tree
Showing 141 changed files with 203 additions and 203 deletions.
2 changes: 1 addition & 1 deletion deno-example/example/example-controller.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Route, Body, Post, Get, Controller } from "@tsoa/runtime";
import { Route, Body, Post, Get, Controller } from "@tsoa-deno/runtime";

interface EmbeddingRequest {
input?: string
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/lukeautry/tsoa.git"
"url": "https://github.com/louis-amhild/tsoa-deno.git"
},
"engines": {
"yarn": ">=1.9.4",
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tsoa/cli",
"name": "@tsoa-deno/cli",
"description": "Build swagger-compliant REST APIs using TypeScript and Node / Deno",
"version": "6.1.5",
"main": "./dist/index.js",
Expand Down Expand Up @@ -32,7 +32,7 @@
"author": "Luke Autry <lukeautry@gmail.com> (http://www.lukeautry.com)",
"license": "MIT",
"dependencies": {
"@tsoa/runtime": "^6.1.5",
"@tsoa-deno/runtime": "^6.1.5",
"@types/multer": "^1.4.11",
"fs-extra": "^11.2.0",
"glob": "^10.3.10",
Expand All @@ -56,10 +56,10 @@
},
"repository": {
"type": "git",
"url": "https://github.com/lukeautry/tsoa.git"
"url": "https://github.com/louis-amhild/tsoa-deno.git"
},
"bin": {
"tsoa": "dist/cli.js"
"tsoa-deno": "dist/cli.js"
},
"engines": {
"yarn": ">=1.9.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import YAML from 'yaml';
import yargs from 'yargs';
import { hideBin } from 'yargs/helpers';
import { Config, RoutesConfig, SpecConfig, Tsoa } from '@tsoa/runtime';
import { Config, RoutesConfig, SpecConfig, Tsoa } from '@tsoa-deno/runtime';
import { MetadataGenerator } from './metadataGeneration/metadataGenerator';
import { generateRoutes } from './module/generate-routes';
import { generateSpec } from './module/generate-spec';
Expand All @@ -29,7 +29,7 @@ const getPackageJsonValue = async (key: string, defaultValue = ''): Promise<stri

const nameDefault = () => getPackageJsonValue('name', 'TSOA');
const versionDefault = () => getPackageJsonValue('version', '1.0.0');
const descriptionDefault = () => getPackageJsonValue('description', 'Build swagger-compliant REST APIs using TypeScript and Node');
const descriptionDefault = () => getPackageJsonValue('description', 'Build swagger-compliant REST APIs using TypeScript and Node / Deno');
const licenseDefault = () => getPackageJsonValue('license', 'MIT');
const determineNoImplicitAdditionalSetting = (noImplicitAdditionalProperties: Config['noImplicitAdditionalProperties']): Exclude<Config['noImplicitAdditionalProperties'], undefined> => {
if (noImplicitAdditionalProperties === 'silently-remove-extras' || noImplicitAdditionalProperties === 'throw-on-extras' || noImplicitAdditionalProperties === 'ignore') {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ export * from './module/generate-spec';
export * from './module/generate-routes';
export { AbstractRouteGenerator } from './routeGeneration/routeGenerator';
export { DefaultRouteGenerator } from './routeGeneration/defaultRouteGenerator';
export { Config } from '@tsoa/runtime';
export { Config } from '@tsoa-deno/runtime';
export * from './cli';
2 changes: 1 addition & 1 deletion packages/cli/src/metadataGeneration/controllerGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { GenerateMetadataError } from './exceptions';
import { MetadataGenerator } from './metadataGenerator';
import { MethodGenerator } from './methodGenerator';
import { TypeResolver } from './typeResolver';
import { Tsoa } from '@tsoa/runtime';
import { Tsoa } from '@tsoa-deno/runtime';
import { getHeaderType } from '../utils/headerTypeHelpers';
import { isMethodDeclaration, type ClassDeclaration, type CallExpression, type StringLiteral } from 'typescript';

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/metadataGeneration/extension.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as ts from 'typescript';
import { getInitializerValue, isNonUndefinedInitializerValue } from './initializer-value';
import { MetadataGenerator } from './metadataGenerator';
import { Tsoa } from '@tsoa/runtime';
import { Tsoa } from '@tsoa-deno/runtime';
import { safeFromJson } from '../utils/jsonUtils';

export function getExtensions(decorators: ts.Identifier[], metadataGenerator: MetadataGenerator): Tsoa.Extension[] {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/metadataGeneration/initializer-value.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as ts from 'typescript';
import { Tsoa } from '@tsoa/runtime';
import { Tsoa } from '@tsoa-deno/runtime';

const hasInitializer = (node: ts.Node): node is ts.HasInitializer => Object.prototype.hasOwnProperty.call(node, 'initializer');
const extractInitializer = (decl?: ts.Declaration) => (decl && hasInitializer(decl) && (decl.initializer as ts.Expression)) || undefined;
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/metadataGeneration/metadataGenerator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Config, Tsoa } from '@tsoa/runtime';
import { Config, Tsoa } from '@tsoa-deno/runtime';
import { minimatch } from 'minimatch';
import { createProgram, forEachChild, isClassDeclaration, type ClassDeclaration, type CompilerOptions, type Program, type TypeChecker } from 'typescript';
import { getDecorators } from '../utils/decoratorUtils';
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/metadataGeneration/methodGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { GenerateMetadataError } from './exceptions';
import { MetadataGenerator } from './metadataGenerator';
import { ParameterGenerator } from './parameterGenerator';

import { Tsoa } from '@tsoa/runtime';
import { Tsoa } from '@tsoa-deno/runtime';
import { TypeResolver } from './typeResolver';
import { getHeaderType } from '../utils/headerTypeHelpers';

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/metadataGeneration/parameterGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getParameterValidators } from './../utils/validatorUtils';
import { GenerateMetadataError } from './exceptions';
import { getInitializerValue } from './initializer-value';
import { MetadataGenerator } from './metadataGenerator';
import { Tsoa } from '@tsoa/runtime';
import { Tsoa } from '@tsoa-deno/runtime';
import { TypeResolver } from './typeResolver';
import { getHeaderType } from '../utils/headerTypeHelpers';

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/metadataGeneration/typeResolver.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertNever, Tsoa } from '@tsoa/runtime';
import { assertNever, Tsoa } from '@tsoa-deno/runtime';
import * as ts from 'typescript';
import { safeFromJson } from '../utils/jsonUtils';
import { getDecorators, getNodeFirstDecoratorValue, isDecorator } from './../utils/decoratorUtils';
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/module/generate-routes.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import * as ts from 'typescript';
import { ExtendedRoutesConfig } from '../cli';
import { MetadataGenerator } from '../metadataGeneration/metadataGenerator';
import { Tsoa } from '@tsoa/runtime';
import { Tsoa } from '@tsoa-deno/runtime';
import { DefaultRouteGenerator } from '../routeGeneration/defaultRouteGenerator';
import { fsMkDir } from '../utils/fs';
import path = require('path');
import { Config as BaseConfig } from "@tsoa/runtime";
import { Config as BaseConfig } from "@tsoa-deno/runtime";

export async function generateRoutes<Config extends ExtendedRoutesConfig>(
routesConfig: Config,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/module/generate-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as ts from 'typescript';
import * as YAML from 'yaml';
import { ExtendedSpecConfig } from '../cli';
import { MetadataGenerator } from '../metadataGeneration/metadataGenerator';
import { Tsoa, Swagger, Config } from '@tsoa/runtime';
import { Tsoa, Swagger, Config } from '@tsoa-deno/runtime';
import { SpecGenerator2 } from '../swagger/specGenerator2';
import { SpecGenerator3 } from '../swagger/specGenerator3';
import { fsMkDir, fsWriteFile } from '../utils/fs';
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/routeGeneration/defaultRouteGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as fs from 'fs';
import * as handlebars from 'handlebars';
import * as path from 'path';
import { ExtendedRoutesConfig } from '../cli';
import { Tsoa, TsoaRoute, assertNever } from '@tsoa/runtime';
import { Tsoa, TsoaRoute, assertNever } from '@tsoa-deno/runtime';
import { fsReadFile, fsWriteFile } from '../utils/fs';
import { convertBracesPathParams } from '../utils/pathUtils';
import { AbstractRouteGenerator } from './routeGenerator';
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/routeGeneration/routeGenerator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as path from 'path';
import { ExtendedRoutesConfig } from '../cli';
import { Tsoa, TsoaRoute, assertNever } from '@tsoa/runtime';
import { Tsoa, TsoaRoute, assertNever } from '@tsoa-deno/runtime';
import { isRefType } from '../utils/internalTypeGuards';
import { convertBracesPathParams, normalisePath } from '../utils/pathUtils';
import { fsExists, fsReadFile } from '../utils/fs';
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/routeGeneration/templates/express.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable */
/* eslint-disable */
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
import { TsoaRoute, fetchMiddlewares, ExpressTemplateService } from '@tsoa/runtime';
import { TsoaRoute, fetchMiddlewares, ExpressTemplateService } from '@tsoa-deno/runtime';
{{#each controllers}}
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
import { {{name}} } from '{{modulePath}}';
Expand All @@ -12,7 +12,7 @@ import { expressAuthentication } from '{{authenticationModule}}';
{{/if}}
{{#if iocModule}}
import { iocContainer } from '{{iocModule}}';
import type { IocContainer, IocContainerFactory } from '@tsoa/runtime';
import type { IocContainer, IocContainerFactory } from '@tsoa-deno/runtime';
{{/if}}
import type { Request as ExRequest, Response as ExResponse, RequestHandler, Router } from 'express';
{{#if useFileUploads}}
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/routeGeneration/templates/hapi.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable */
/* eslint-disable */
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
import { TsoaRoute, fetchMiddlewares, HapiTemplateService } from '@tsoa/runtime';
import { TsoaRoute, fetchMiddlewares, HapiTemplateService } from '@tsoa-deno/runtime';
{{#each controllers}}
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
import { {{name}} } from '{{modulePath}}';
Expand All @@ -12,7 +12,7 @@ import { hapiAuthentication } from '{{authenticationModule}}';
{{/if}}
{{#if iocModule}}
import { iocContainer } from '{{iocModule}}';
import type { IocContainer, IocContainerFactory } from '@tsoa/runtime';
import type { IocContainer, IocContainerFactory } from '@tsoa-deno/runtime';
{{/if}}
import { boomify, isBoom, type Payload } from '@hapi/boom';
import type { Request, ResponseToolkit, RouteOptionsPreAllOptions } from '@hapi/hapi';
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/routeGeneration/templates/hono.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
ValidationService,
ValidateError,
isTsoaContext
} from '@tsoa/runtime';
} from '@tsoa-deno/runtime';

import { assert } from "https://deno.land/std@0.64.0/_util/assert.ts";

Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/routeGeneration/templates/koa.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable */
/* eslint-disable */
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
import { TsoaRoute, fetchMiddlewares, KoaTemplateService } from '@tsoa/runtime';
import { TsoaRoute, fetchMiddlewares, KoaTemplateService } from '@tsoa-deno/runtime';
{{#each controllers}}
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
import { {{name}} } from '{{modulePath}}';
Expand All @@ -12,7 +12,7 @@ import { koaAuthentication } from '{{authenticationModule}}';
{{/if}}
{{#if iocModule}}
import { iocContainer } from '{{iocModule}}';
import type { IocContainer, IocContainerFactory } from '@tsoa/runtime';
import type { IocContainer, IocContainerFactory } from '@tsoa-deno/runtime';
{{/if}}
import type { Context, Next, Middleware, Request as KRequest, Response as KResponse } from 'koa';
import type * as KoaRouter from '@koa/router';
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/swagger/specGenerator.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ExtendedSpecConfig } from '../cli';
import { Tsoa, assertNever, Swagger } from '@tsoa/runtime';
import { Tsoa, assertNever, Swagger } from '@tsoa-deno/runtime';
import * as handlebars from 'handlebars';

export abstract class SpecGenerator {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/swagger/specGenerator2.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { merge as mergeAnything } from 'merge-anything'
import { merge as deepMerge } from 'ts-deepmerge';
import { Tsoa, assertNever, Swagger } from '@tsoa/runtime';
import { Tsoa, assertNever, Swagger } from '@tsoa-deno/runtime';

import { SpecGenerator } from './specGenerator';
import { ExtendedSpecConfig } from '../cli';
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/swagger/specGenerator3.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Swagger, Tsoa, assertNever } from '@tsoa/runtime';
import { Swagger, Tsoa, assertNever } from '@tsoa-deno/runtime';
import { merge as mergeAnything } from 'merge-anything';
import { merge as deepMerge } from 'ts-deepmerge';

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/utils/headerTypeHelpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Tsoa } from '@tsoa/runtime';
import { Tsoa } from '@tsoa-deno/runtime';
import { NodeArray, TypeNode } from 'typescript';
import { GenerateMetadataError } from '../metadataGeneration/exceptions';
import { MetadataGenerator } from '../metadataGeneration/metadataGenerator';
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/utils/internalTypeGuards.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is designed to contain functions that narrow the input type to a type within src\metadataGeneration\tsoa.ts
import { Tsoa, assertNever } from '@tsoa/runtime';
import { Tsoa, assertNever } from '@tsoa-deno/runtime';

/**
* This will help us do exhaustive matching against only reference types. For example, once you have narrowed the input, you don't then have to check the case where it's a `integer` because it never will be.
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/utils/isVoidType.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Tsoa } from '@tsoa/runtime';
import { Tsoa } from '@tsoa-deno/runtime';

export const isVoidType = (type: Tsoa.Type): boolean => {
if (type.dataType === 'void' || type.dataType === 'undefined') {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/utils/validatorUtils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Tsoa } from '@tsoa/runtime';
import { Tsoa } from '@tsoa-deno/runtime';
import * as ts from 'typescript';
import validator from 'validator';
import { GenerateMetadataError } from './../metadataGeneration/exceptions';
Expand Down
4 changes: 2 additions & 2 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tsoa/runtime",
"name": "@tsoa-deno/runtime",
"description": "Build swagger-compliant REST APIs using TypeScript and Node / Deno",
"version": "6.1.5",
"main": "./dist/index.js",
Expand Down Expand Up @@ -47,7 +47,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/lukeautry/tsoa.git"
"url": "https://github.com/louis-amhild/tsoa-deno.git"
},
"engines": {
"yarn": ">=1.9.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Readable } from 'https://deno.land/x/readable_stream@v3.6.0-deno.0.3.0/
import { encode as bufferToBase64 } from "https://deno.land/std@0.64.0/encoding/base64.ts";
import { HTTPException, Next, type Context as HonoContext } from '@hono';

import { HttpStatusCodeLiteral, File as TsoaFile, FieldErrors, ValidateError, TsoaRoute, Controller, TemplateService } from '@tsoa/runtime';
import { HttpStatusCodeLiteral, File as TsoaFile, FieldErrors, ValidateError, TsoaRoute, Controller, TemplateService } from '@tsoa-deno/runtime';

/**
* Create a Tsoa compatible Hono context type that contains any request data available for consumption synchronously.
Expand Down
12 changes: 6 additions & 6 deletions packages/tsoa/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "tsoa",
"name": "tsoa-deno",
"description": "Build swagger-compliant REST APIs using TypeScript and Node / Deno",
"version": "6.1.5",
"main": "./dist/index.js",
Expand Down Expand Up @@ -27,22 +27,22 @@
"tsc": "tsc -b",
"watch": "tsc -b -w"
},
"author": "Luke Autry <lukeautry@gmail.com> (http://www.lukeautry.com)",
"author": "Louis Amhild <louis.amhild@gmail.com>",
"license": "MIT",
"dependencies": {
"@tsoa/cli": "^6.1.5",
"@tsoa/runtime": "^6.1.5"
"@tsoa-deno/cli": "^6.1.5",
"@tsoa-deno/runtime": "^6.1.5"
},
"devDependencies": {
"@types/node": "^18.0.0",
"typescript": "^5.3.3"
},
"repository": {
"type": "git",
"url": "https://github.com/lukeautry/tsoa.git"
"url": "https://github.com/louis-amhild/tsoa-deno.git"
},
"bin": {
"tsoa": "dist/cli.js"
"tsoa-deno": "dist/cli.js"
},
"engines": {
"yarn": ">=1.9.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/tsoa/src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node
import { runCLI } from '@tsoa/cli';
import { runCLI } from '@tsoa-deno/cli';

if (require.main === module) void runCLI();
4 changes: 2 additions & 2 deletions packages/tsoa/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from '@tsoa/runtime';
export * from '@tsoa/cli';
export * from '@tsoa-deno/runtime';
export * from '@tsoa-deno/cli';
2 changes: 1 addition & 1 deletion tests/deno.import-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"imports": {
"models" : "/models/",
"@hono": "https://deno.land/x/hono@v3.7.6/mod.ts",
"@tsoa/runtime": "./../packages/runtime/deno_dist",
"@tsoa-deno/runtime": "./../packages/runtime/deno_dist",
"stream": "https://deno.land/x/readable_stream@v3.6.0-deno.0.3.0/mod.ts",
"tsoaTest": "./fixtures/hono/honoTestPolyfill.ts"
}
Expand Down
8 changes: 4 additions & 4 deletions tests/deno.lock
Original file line number Diff line number Diff line change
Expand Up @@ -504,14 +504,14 @@
"workspace": {
"packageJson": {
"dependencies": [
"npm:@hapi/hapi@^21.3.1",
"npm:@hapi/hapi@^21.3.3",
"npm:@koa/multer@^3.0.2",
"npm:@koa/router@^12.0.1",
"npm:@types/body-parser@^1.19.5",
"npm:@types/chai@^4.3.11",
"npm:@types/express@^4.17.21",
"npm:@types/koa-bodyparser@^4.3.12",
"npm:@types/koa@^2.13.12",
"npm:@types/koa@^2.15.0",
"npm:@types/koa__router@^12.0.4",
"npm:@types/method-override@0.0.35",
"npm:@types/mocha@^10.0.6",
Expand All @@ -530,13 +530,13 @@
"npm:cross-env@^7.0.3",
"npm:eslint-config-prettier@^9.1.0",
"npm:eslint@^8.56.0",
"npm:express@^4.18.1",
"npm:express@^4.18.3",
"npm:husky@^8.0.3",
"npm:inversify-binding-decorators@^4.0.0",
"npm:inversify@^6.0.2",
"npm:joi@^17.12.0",
"npm:koa-bodyparser@^4.4.0",
"npm:koa@^2.14.1",
"npm:koa@^2.15.0",
"npm:lerna@^8.0.1",
"npm:lint-staged@^15.2.0",
"npm:method-override@^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/esm/fixtures/controllers/securityController.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Controller, Get, Route, Security } from '@tsoa/runtime';
import { Controller, Get, Route, Security } from '@tsoa-deno/runtime';
import type { TestModel } from '../testModel.js';

@Security('tsoa_auth')
Expand Down
2 changes: 1 addition & 1 deletion tests/esm/fixtures/express/rootController.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Controller, Get, Route } from '@tsoa/runtime';
import { Controller, Get, Route } from '@tsoa-deno/runtime';
import type { TestModel } from '../testModel.js';

@Route()
Expand Down
Loading

0 comments on commit 2ea8372

Please sign in to comment.