chore(deps): update dependency openapi-typescript to v7 #1634
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.7.6
->7.4.2
Release Notes
openapi-ts/openapi-typescript (openapi-typescript)
v7.4.2
Compare Source
Patch Changes
c2c396d
Thanks @DanDeMicco! - Support for generating enums when enums definition has null valuev7.4.1
Compare Source
Patch Changes
4a59124
Thanks @drwpow! - Bump Redocly Corev7.4.0
Compare Source
Minor Changes
a9cd9aa
Thanks @BradHacker! - Add option to export all root component typesv7.3.3
Compare Source
Patch Changes
94592a4
Thanks @phk422! - fix: replace special characters usingSPECIAL_CHARACTER_MAP
for duplicate-identifiersv7.3.2
Compare Source
Patch Changes
21fb8b0
Thanks @phk422! - fix(openapi-typescript): type errors generated underenumValues
v7.3.1
Compare Source
Patch Changes
08bde72
Thanks @liangskyli! - fix: keyedParameters use unique keyv7.3.0
Compare Source
Minor Changes
9939b76
Thanks @drwpow! - Don’t generate| undefined
for additionalPropertiesv7.2.0
Compare Source
Minor Changes
b1bbe62
Thanks @phk422! - feat: add dedupeEnums optionv7.1.2
Compare Source
Patch Changes
335530c
Thanks @kerwanp! - Ignore configuration files in published packagev7.1.1
Compare Source
Patch Changes
c2f8655
Thanks @yoshi2no! - Fix: Correct handling of identical minItems and maxItems in array schemas when arrayLength option is truev7.1.0
Compare Source
Minor Changes
#1766
0ce35d7
Thanks @phk422! - feat: Add the inject option#1768
285b097
Thanks @phk422! - feat: Add check optionPatch Changes
#1772
41cb9a2
Thanks @ashwin153! - fix: add explicit import of performance to fix bazel compatibility issues#1764
2793049
Thanks @michalfedyna! - Fix --properties-required-by-default flag not working#1763
19b9383
Thanks @nkt! - fix: schema.content might be omittedv7.0.4
Compare Source
Patch Changes
e705909
Thanks @phk422! - fix: Correct handling of default parameter values in referenced component schemav7.0.3
Compare Source
Patch Changes
8043c5d
Thanks @yoshi2no! - fix: Enum option cannot generate enums if values are not valid property namesv7.0.2
Compare Source
Patch Changes
8f6ec20
Thanks @avaly! - Generate valid types for referenced nested propertiesv7.0.1
Compare Source
Patch Changes
f47268f
Thanks @simensol! - Make sure result is an object before using the in operator.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 - "before 5am every weekday,every weekend" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.