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

fix: required在schemaObject和properties中的情况 #142

Merged
merged 2 commits into from
Mar 4, 2024

Conversation

MaZhaolin
Copy link
Contributor

使用apifox生成的openapi3.1的接口时,下面这种情况required判断不正确
image

@chenshuai2144 chenshuai2144 merged commit 3db0ef6 into chenshuai2144:main Mar 4, 2024
Alioth1017 added a commit to Alioth1017/openapi2typescript that referenced this pull request Jun 19, 2024
* main: (29 commits)
  fix: 修复类型错误并更新文档 (chenshuai2144#155)
  chore: 支持docker开发 (chenshuai2144#158)
  feat: 将afterOpenApiDataInited提升到最顶层,this.apiData可以使用自定义处理后的数据 (chenshuai2144#159)
  1.12.1
  fix tempTypeName is null error
  1.12.0
  fix tempTypeName is null error
  mock生成支持allOf,结果读取支持更多值,修复生成时堆栈溢出 (chenshuai2144#150)
  fix: 解决JSON中components.schemas为空导致的生成报错 (chenshuai2144#151)
  1.11.1
  fix: 消除require的缓存 (chenshuai2144#144)
  1.11.0
  fix: required在schemaObject和properties中的情况 (chenshuai2144#142)
  处理anyOf和null类型 (chenshuai2144#143)
  fix: 兼容调用resolveObject函数,schemaObject为null导致报错的场景 (chenshuai2144#141)
  fix:Content-Type 类型为 application/x-www-form-urlencoded 代码生成错误 @see chenshuai2144#139 (chenshuai2144#140)
  1.10.1
  1.10.0
  回退默认把int64转换为string的修改 (chenshuai2144#133)
  fix: application/x-www-form-urlencoded不适用formData传参 (chenshuai2144#135)
  ...
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

Successfully merging this pull request may close these issues.

2 participants