Commit 7c4bacb
authored
fix: correctly output Record<string, unknown> when irrelevant properties present (#402)
previously fields like `description` or `example` would erroneously
throw off the
normalization and cause an `EmptyObject` to be emitted. this fixes that.1 parent 1306741 commit 7c4bacb
32 files changed
Lines changed: 7924 additions & 2622 deletions
File tree
- integration-tests
- typescript-angular/src/generated
- api.github.com.yaml
- azure-resource-manager.tsp
- okta.idp.yaml
- stripe.yaml
- typescript-axios/src/generated
- api.github.com.yaml
- azure-resource-manager.tsp
- okta.idp.yaml
- stripe.yaml
- typescript-express/src/generated
- api.github.com.yaml
- azure-resource-manager.tsp
- okta.idp.yaml
- stripe.yaml
- typescript-fetch/src/generated
- api.github.com.yaml
- azure-resource-manager.tsp
- okta.idp.yaml
- stripe.yaml
- typescript-koa/src/generated
- api.github.com.yaml
- azure-resource-manager.tsp
- okta.idp.yaml
- stripe.yaml
- packages/openapi-code-generator/src
- core
- typescript/common/schema-builders
Lines changed: 18 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 12 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments