落叶

Results 8 comments of 落叶

We find that in this case, js will execute parsing earlier than css, which is particularly obvious when js reads from memory

> @fengluoX > > @风落X > > To have full control over all CSS and JS files in generated HTML you can try to use the [html-bundler-webpack-plugin](https://github.com/webdiscus/html-bundler-webpack-plugin). > > 要完全控制生成的HTML中的所有CSS和JS文件,您可以尝试使用[html-bundler-webpack-plugin](https://github.com/webdiscus/html-bundler-webpack-plugin)。...

这个应该检查你输出的openapi的json是不是不正确的,理论上来说,2.0下,都会集中定义在definitions下,而3.0则是在Components 对象下,具体参照openapi3.0规范 https://openapi.apifox.cn/

> > 这个应该检查你输出的openapi的json是不是不正确的,理论上来说,2.0下,都会集中定义在definitions下,而3.0则是在Components 对象下,具体参照openapi3.0规范 https://openapi.apifox.cn/ > > 返回的格式是正确的,但是所有的接口response都是一个固定的结构,data,errors,succeeded,statusCode这几个字段都是固定的,但是我发现所有的接口都生成了一遍这个结构,正常我们自己写的话,这个结构的类型是可以写成一个固定的,然后data字段是一个泛型 可以提交一份你的json文件来看看

这个应该是接口定义无限级联的情况,比如后端定义结构体 model.Response,里面有个字段的定义是model.Response,现实情况可能会比这复杂,比如a->b->c->a

可以的,通过多次调用generateService方法就可以,写两个不同的目录就可以 ![image](https://github.com/chenshuai2144/openapi2typescript/assets/32671774/f943e720-59b0-475f-875e-ac389dcd7942)