@@ -52,8 +52,8 @@ main();
5252import * as fs from " fs" ;
5353
5454import { CodeGenerator } from " @himenon/openapi-typescript-code-generator" ;
55- import * as Templates from " @himenon/openapi-typescript-code-generator/dist/ templates" ;
56- import type * as Types from " @himenon/openapi-typescript-code-generator/dist/ types" ;
55+ import * as Templates from " @himenon/openapi-typescript-code-generator/templates" ;
56+ import type * as Types from " @himenon/openapi-typescript-code-generator/types" ;
5757
5858const main = () => {
5959 const codeGenerator = new CodeGenerator (" your/openapi/spec.yml" );
@@ -79,7 +79,7 @@ main();
7979This library provides three types of templates
8080
8181``` ts
82- import * as Templates from " @himenon/openapi-typescript-code-generator/dist/ templates" ;
82+ import * as Templates from " @himenon/openapi-typescript-code-generator/templates" ;
8383
8484Templates .ClassApiClient .generator ;
8585Templates .FunctionalApiClient .generator ;
@@ -273,8 +273,8 @@ export const createPublisherV2 =
273273import * as fs from " fs" ;
274274
275275import { CodeGenerator } from " @himenon/openapi-typescript-code-generator" ;
276- import * as Templates from " @himenon/openapi-typescript-code-generator/dist/ templates" ;
277- import type * as Types from " @himenon/openapi-typescript-code-generator/dist/ types" ;
276+ import * as Templates from " @himenon/openapi-typescript-code-generator/templates" ;
277+ import type * as Types from " @himenon/openapi-typescript-code-generator/types" ;
278278
279279const main = () => {
280280 const codeGenerator = new CodeGenerator (" your/openapi/spec.yml" );
@@ -310,7 +310,7 @@ The examples in this section can be used in the following ways
310310import * as fs from " fs" ;
311311
312312import { CodeGenerator } from " @himenon/openapi-typescript-code-generator" ;
313- import type * as Types from " @himenon/openapi-typescript-code-generator/dist/ types" ;
313+ import type * as Types from " @himenon/openapi-typescript-code-generator/types" ;
314314
315315/** Write the definition of the Code Template here. */
316316const customGenerator: Types .CodeGenerator .CustomGenerator <{}> = {
@@ -329,7 +329,7 @@ fs.writeFileSync("output/file/name", code, { encoding: "utf-8" });
329329A self-defined code generator can return an array of ` string ` .
330330
331331``` ts
332- import * as Types from " @himenon/openapi-typescript-code-generator/dist/ types" ;
332+ import * as Types from " @himenon/openapi-typescript-code-generator/types" ;
333333
334334interface Option {
335335 showLog? : boolean ;
@@ -354,7 +354,7 @@ The self-defined code generator can accept parameters extracted from OpenAPI Sch
354354See Type definitions for available parameters.
355355
356356``` ts
357- import * as Types from " @himenon/openapi-typescript-code-generator/dist/ types" ;
357+ import * as Types from " @himenon/openapi-typescript-code-generator/types" ;
358358
359359interface Option {}
360360
@@ -442,8 +442,8 @@ You can extend your code using the API for generating code.
442442You can directly use the Template literals or use the wrapper API provided by this library.
443443
444444``` ts
445- import * as Types from " @himenon/openapi-typescript-code-generator/dist/ types" ;
446- import { TsGenerator } from " @himenon/openapi-typescript-code-generator/dist/ api" ;
445+ import * as Types from " @himenon/openapi-typescript-code-generator/types" ;
446+ import { TsGenerator } from " @himenon/openapi-typescript-code-generator/api" ;
447447
448448interface Option {}
449449
@@ -504,7 +504,7 @@ This is a type definition file for `Templates.FunctionalApiClient`. The reason i
504504### TsGenerator
505505
506506``` ts
507- import { TsGenerator } from " @himenon/openapi-typescript-code-generator/dist/ api" ;
507+ import { TsGenerator } from " @himenon/openapi-typescript-code-generator/api" ;
508508```
509509
510510This is an API for generating code using Template literals.
@@ -513,7 +513,7 @@ It is subject to change without notice.
513513### OpenApiTools
514514
515515``` ts
516- import { OpenApiTools } from " @himenon/openapi-typescript-code-generator/dist/ api" ;
516+ import { OpenApiTools } from " @himenon/openapi-typescript-code-generator/api" ;
517517```
518518
519519#### Parser
0 commit comments