Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

水平堪忧啊,一更新类型全没了 #341

Closed
Kerbores opened this issue Nov 7, 2022 · 3 comments
Closed

水平堪忧啊,一更新类型全没了 #341

Kerbores opened this issue Nov 7, 2022 · 3 comments

Comments

@Kerbores
Copy link

Kerbores commented Nov 7, 2022

What happens(发生了什么)?

swaggerV3的接口 更新1.5.0之后,参数类似和baseClass都没有了,lock文件里面也没有

Mini Showcase Repository(迷你展示库)

Provide a mini GitHub repository which can reproduce the issue(提供一个可以重现问题的小型 Github 存储库).

swagger Json 内容: https://cloud.riemann.tech/v3/api-docs/oas?service=riemann-cloud-supports-auth-center&url=/v3/api-docs/acl

How To Reproduce(如何重现)

Steps to reproduce the behavior(重现行为的步骤):

  1. 更新vs-code插件到1.5.0
  2. 更新pont-engine到1.5.0
  3. 生成代码

Expected behavior(预期行为)

  1. 生成正常
  2. baseclass和接口参数类型正常

Context(上下文)

  • pont Version: 1.5.0
  • Node Version: 16.15.1
  • Platform(操作系统平台): Windows 11
@ianfuin
Copy link
Collaborator

ianfuin commented Nov 7, 2022

SwaggerV3 的 接口,在 pont-config.json 中, 需要配置 "originType": "SwaggerV3"

@ianfuin ianfuin closed this as completed Nov 7, 2022
@Kerbores
Copy link
Author

Kerbores commented Nov 7, 2022

已经配置

@Kerbores
Copy link
Author

Kerbores commented Nov 7, 2022

但是依旧没有类型

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants