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

header类型的参数如果包含中划线,默认生成的文件编译报错 #49

Closed
VigourJiang opened this issue May 22, 2019 · 0 comments

Comments

@VigourJiang
Copy link

以下为默认生成的代码。其中Afc-User-Id为header类型的参数,level为query类型的参数。

  class Params {
    
  /** 用户id */
  Afc-User-Id?: string;
  /** level */
  level?: 'ACC' | 'LC' | 'SC' | 'SLE' | 'MODULE';
  }
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