Skip to content

Commit

Permalink
docs: remove v3 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Himenon committed Jan 12, 2021
1 parent 601cfbb commit 8082df4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import * as CodeGenerator from "@himenon/openapi-typescript-code-generator";

const main = () => {
const params: CodeGenerator.Params = {
version: "v3",
entryPoint: "your/openapi/spec.yml", // support .yml, .yaml, .json
};
const code = CodeGenerator.generateTypeScriptCode(params);
Expand All @@ -53,7 +52,6 @@ import * as CodeGenerator from "../lib";

const main = () => {
const params: CodeGenerator.Params = {
version: "v3",
entryPoint: "your/openapi/spec.yml", // support .yml, .yaml, .json
option: {
makeApiClient: (context: ts.TransformationContext, codeGeneratorParamsList: CodeGenerator.Converter.v3.CodeGeneratorParams[]): ts.Statement[] => {
Expand Down
2 changes: 0 additions & 2 deletions docs/ja/README-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import * as CodeGenerator from "@himenon/openapi-typescript-code-generator";

const main = () => {
const params: CodeGenerator.Params = {
version: "v3",
entryPoint: "your/openapi/spec.yml", // support .yml, .yaml, .json
};
const code = CodeGenerator.generateTypeScriptCode(params);
Expand All @@ -51,7 +50,6 @@ import * as CodeGenerator from "../lib";

const main = () => {
const params: CodeGenerator.Params = {
version: "v3",
entryPoint: "your/openapi/spec.yml", // support .yml, .yaml, .json
option: {
makeApiClient: (context: ts.TransformationContext, codeGeneratorParamsList: CodeGenerator.Converter.v3.CodeGeneratorParams[]): ts.Statement[] => {
Expand Down

0 comments on commit 8082df4

Please sign in to comment.