Skip to content

hello-hyh/interface-portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

interface-portal-plugin

Install

npm install interface-portal-plugin

Feat

add cache feat.

Usage

in your webpack config file

const InterfacePortalPlugin = require("interface-portal-plugin");
...

plugins: [
  ... // other plugin
  new InterfacePortalPlugin({ apitPath: 'your openapi json path' })
  ],

when your build project with watch mode, the swagger_interface dir well be create, end use import interface to your .ts file.

please don't push swagger_interface dir to your code repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published