This repository was archived by the owner on Feb 10, 2023. It is now read-only.
File tree 2 files changed +0
-4
lines changed
2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ import * as CodeGenerator from "@himenon/openapi-typescript-code-generator";
28
28
29
29
const main = () => {
30
30
const params: CodeGenerator .Params = {
31
- version: " v3" ,
32
31
entryPoint: " your/openapi/spec.yml" , // support .yml, .yaml, .json
33
32
};
34
33
const code = CodeGenerator .generateTypeScriptCode (params );
@@ -53,7 +52,6 @@ import * as CodeGenerator from "../lib";
53
52
54
53
const main = () => {
55
54
const params: CodeGenerator .Params = {
56
- version: " v3" ,
57
55
entryPoint: " your/openapi/spec.yml" , // support .yml, .yaml, .json
58
56
option: {
59
57
makeApiClient : (context : ts .TransformationContext , codeGeneratorParamsList : CodeGenerator .Converter .v3 .CodeGeneratorParams []): ts .Statement [] => {
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import * as CodeGenerator from "@himenon/openapi-typescript-code-generator";
26
26
27
27
const main = () => {
28
28
const params: CodeGenerator .Params = {
29
- version: " v3" ,
30
29
entryPoint: " your/openapi/spec.yml" , // support .yml, .yaml, .json
31
30
};
32
31
const code = CodeGenerator .generateTypeScriptCode (params );
@@ -51,7 +50,6 @@ import * as CodeGenerator from "../lib";
51
50
52
51
const main = () => {
53
52
const params: CodeGenerator .Params = {
54
- version: " v3" ,
55
53
entryPoint: " your/openapi/spec.yml" , // support .yml, .yaml, .json
56
54
option: {
57
55
makeApiClient : (context : ts .TransformationContext , codeGeneratorParamsList : CodeGenerator .Converter .v3 .CodeGeneratorParams []): ts .Statement [] => {
You can’t perform that action at this time.
0 commit comments