Skip to content

Commit

Permalink
migrate typescript.sh to new config format (#7078)
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 authored Jul 30, 2020
1 parent 6621f46 commit e120099
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 51 deletions.
6 changes: 6 additions & 0 deletions bin/configs/typescript-consolidated-deno.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
generatorName: typescript
outputDir: samples/openapi3/client/petstore/typescript/builds/deno
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
additionalProperties:
platform: deno
npmName: ts-petstore-client
7 changes: 7 additions & 0 deletions bin/configs/typescript-consolidated-inversify.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
generatorName: typescript
outputDir: samples/openapi3/client/petstore/typescript/builds/inversify
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
additionalProperties:
platform: node
npmName: ts-petstore-client
useInversify: true
6 changes: 6 additions & 0 deletions bin/configs/typescript-consolidated-jquery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
generatorName: typescript
outputDir: samples/openapi3/client/petstore/typescript/builds/jquery
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
additionalProperties:
framework: jquery
npmName: ts-petstore-client
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
generatorName: typescript
outputDir: samples/openapi3/client/petstore/typescript/builds/object_params
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
additionalProperties:
platform: node
npmName: ts-petstore-client
useObjectParameters: true
6 changes: 6 additions & 0 deletions bin/configs/typescript-consolidated-node.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
generatorName: typescript
outputDir: samples/openapi3/client/petstore/typescript/builds/default
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
additionalProperties:
platform: node
npmName: ts-petstore-client
51 changes: 0 additions & 51 deletions bin/typescript.sh

This file was deleted.

0 comments on commit e120099

Please sign in to comment.