@wii/swagger-plugin-transform-definition
v1.0.9
Published
transform swagger to ui components
Downloads
10
Keywords
Readme
@wii/swagger-plugin-transform-definition
生成类型声明
Usage
import Swagger from '@wii/swagger-core';
import DefinitionPlugin from '@wii/swagger-plugin-transform-definition';
const swagger = new Swagger({
plugins: [new DefinitionPlugin({})],
});
swagger.parseAndTransform();