forked from loafle/openapi-generator-original
[typescript(experimental)] fix for Deno v1.6 (#8265)
* fix for Deno 1.6 * update dependency version of Deno test code
This commit is contained in:
parent
c3220848f2
commit
9889e5dfba
@ -124,7 +124,7 @@ before_install:
|
||||
fi;
|
||||
- pushd .; cd website; yarn install; popd
|
||||
# install Deno
|
||||
- sh -s v1.1.2 < ./CI/deno_install.sh
|
||||
- sh -s v1.6.2 < ./CI/deno_install.sh
|
||||
- export PATH="$HOME/.deno/bin:$PATH"
|
||||
|
||||
install:
|
||||
|
@ -1,7 +1,8 @@
|
||||
export * from "./http/http{{extensionForDeno}}";
|
||||
export * from "./auth/auth{{extensionForDeno}}";
|
||||
export * from "./models/all{{extensionForDeno}}";
|
||||
export { createConfiguration, Configuration } from "./configuration{{extensionForDeno}}"
|
||||
export { createConfiguration } from "./configuration{{extensionForDeno}}"
|
||||
export{{#platforms}}{{#deno}} type{{/deno}}{{/platforms}} { Configuration } from "./configuration{{extensionForDeno}}"
|
||||
export * from "./apis/exception{{extensionForDeno}}";
|
||||
export * from "./servers{{extensionForDeno}}";
|
||||
|
||||
@ -9,7 +10,7 @@ export * from "./servers{{extensionForDeno}}";
|
||||
export { Middleware } from './middleware{{extensionForDeno}}';
|
||||
{{/useRxJS}}
|
||||
{{^useRxJS}}
|
||||
export { PromiseMiddleware as Middleware } from './middleware{{extensionForDeno}}';
|
||||
export{{#platforms}}{{#deno}} type{{/deno}}{{/platforms}} { PromiseMiddleware as Middleware } from './middleware{{extensionForDeno}}';
|
||||
{{/useRxJS}}
|
||||
{{#useObjectParameters}}
|
||||
export { {{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}{{classname}}{{operationIdCamelCase}}Request, {{/operation}}Object{{classname}} as {{classname}}{{^-last}}, {{/-last}} {{/operations}}{{/apis}}{{/apiInfo}}} from './types/ObjectParamAPI{{extensionForDeno}}';
|
||||
|
@ -1,7 +1,8 @@
|
||||
export * from "./http/http";
|
||||
export * from "./auth/auth";
|
||||
export * from "./models/all";
|
||||
export { createConfiguration, Configuration } from "./configuration"
|
||||
export { createConfiguration } from "./configuration"
|
||||
export { Configuration } from "./configuration"
|
||||
export * from "./apis/exception";
|
||||
export * from "./servers";
|
||||
|
||||
|
@ -1,10 +1,11 @@
|
||||
export * from "./http/http.ts";
|
||||
export * from "./auth/auth.ts";
|
||||
export * from "./models/all.ts";
|
||||
export { createConfiguration, Configuration } from "./configuration.ts"
|
||||
export { createConfiguration } from "./configuration.ts"
|
||||
export type { Configuration } from "./configuration.ts"
|
||||
export * from "./apis/exception.ts";
|
||||
export * from "./servers.ts";
|
||||
|
||||
export { PromiseMiddleware as Middleware } from './middleware.ts';
|
||||
export type { PromiseMiddleware as Middleware } from './middleware.ts';
|
||||
export { PromisePetApi as PetApi, PromiseStoreApi as StoreApi, PromiseUserApi as UserApi } from './types/PromiseAPI.ts';
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
export * from "./http/http";
|
||||
export * from "./auth/auth";
|
||||
export * from "./models/all";
|
||||
export { createConfiguration, Configuration } from "./configuration"
|
||||
export { createConfiguration } from "./configuration"
|
||||
export { Configuration } from "./configuration"
|
||||
export * from "./apis/exception";
|
||||
export * from "./servers";
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
export * from "./http/http";
|
||||
export * from "./auth/auth";
|
||||
export * from "./models/all";
|
||||
export { createConfiguration, Configuration } from "./configuration"
|
||||
export { createConfiguration } from "./configuration"
|
||||
export { Configuration } from "./configuration"
|
||||
export * from "./apis/exception";
|
||||
export * from "./servers";
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
export * from "./http/http";
|
||||
export * from "./auth/auth";
|
||||
export * from "./models/all";
|
||||
export { createConfiguration, Configuration } from "./configuration"
|
||||
export { createConfiguration } from "./configuration"
|
||||
export { Configuration } from "./configuration"
|
||||
export * from "./apis/exception";
|
||||
export * from "./servers";
|
||||
|
||||
|
@ -2,7 +2,7 @@ import {
|
||||
assertEquals,
|
||||
assert,
|
||||
fail,
|
||||
} from "https://deno.land/std@0.58.0/testing/asserts.ts";
|
||||
} from "https://deno.land/std@0.82.0/testing/asserts.ts";
|
||||
import * as petstore from "../../../../builds/deno/index.ts";
|
||||
|
||||
const configuration = petstore.createConfiguration();
|
||||
|
Loading…
x
Reference in New Issue
Block a user