chore(deps): update dependency openapi-typescript to v7 #427
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.2.1
->^7.0.0
Release Notes
openapi-ts/openapi-typescript (openapi-typescript)
v7.0.0
Compare Source
Major Changes
6d1eb32
Thanks @drwpow! -transform()
andpostTransform()
. To migrate, you’ll have to use thetypescript
compiler API:Though it’s more verbose, it’s also more powerful, as now you have access to additional properties of the generated code you didn’t before (such as injecting comments).
For example syntax, search this codebae to see how the TypeScript AST is used.
Also see AST Explorer’s
typescript
parser to inspect how TypeScript is interpreted as an AST.6d1eb32
Thanks @drwpow! ---auth
,--httpHeaders
,--httpMethod
, andfetch
(Node.js-only) options were all removed from the CLI and Node.js API--immutable-types
has been renamed to--immutable
--support-array-length
has been renamed to--array-length
fbaf96d
Thanks @drwpow! -redocly.yaml
config. Specify multiple schemas with outputs in there instead. See Multiple schemas for more info.6d1eb32
Thanks @drwpow! -:never
. This includes keys of the Components Object as well as HTTP methods.6d1eb32
Thanks @drwpow! -external
export in schemas anymore. Everything gets flattened into thecomponents
object instead (if referencing a schema object from a remote partial, note it may have had a minor name change to avoid conflict).6d1eb32
Thanks @drwpow! -defaultNonNullable
option now defaults totrue
. You’ll now need to manually setfalse
to return to old behavior.799194d
Thanks @drwpow~ -openapi-typescript
Minor Changes
6d1eb32
Thanks @drwpow! - ✨ Feature: automatically validate schemas with Redocly CLI (docs). No more need for external tools to report errors! 🎉312b7ba
Thanks @drwpow! - ✨ Feature: allow configuration of schemas viaapis
key in redocly.config.yaml. See docs for more info.6d1eb32
Thanks @drwpow! - ✨ Feature: addenum
option to export top-level enums from schemas6d1eb32
Thanks @drwpow! - ✨ Feature: addformatOptions
to allow formatting TS output6d1eb32
Thanks @drwpow! - ✨ Feature: header responses add[key: string]: unknown
index type to allow for additional untyped headers6d1eb32
Thanks @drwpow! - ✨ Feature: bundle schemas with Redocly CLI6d1eb32
Thanks @drwpow! - ✨ Feature: Added debugger that lets you profile performance and see more in-depth messages#1374
7ac5174
Thanks @ElForastero! - Add support for x-enum-varnames and x-enum-descriptions#1545
9158b81
Thanks @jaredLunde! - Replace # characters in operation IDs with a slashPatch Changes
6d1eb32
Thanks @drwpow! - Refactor internals to use TypeScript AST rather than string mashing6d1eb32
Thanks @drwpow! - 🧹 Cleaned up and reorganized all tests#1602
9da96cd
Thanks @JeanRemiDelteil! - Do not add readonly on Typescript enum when the --immutable option is used.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.