-
Couldn't load subscription status.
- Fork 14
chore(deps): update dependency openapi-typescript to v7 #429
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
has breaking changes
|
See also octokit/openapi-webhooks#68 |
|
There are issues with the OpenAPI spec that is currently cached in this repo. There seems to be duplicate |
|
There are 4 routes to use the
This is still an issue in the latest spec over at https://github.com/octokit/openapi/blob/update/generated/ghes-3.12.json |
|
Raised the issue over in github/rest-api-description#3720 |
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
1b371d6 to
4b0ca7c
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
^6.2.1->^7.0.0Release Notes
openapi-ts/openapi-typescript (openapi-typescript)
v7.5.1Compare Source
Patch Changes
39f9b2fThanks @duncanbeevers! - Add schema to postTransform optionsv7.5.0Compare Source
Minor Changes
#2052
d2de5c7Thanks @laurenz-glueck! - brings back --make-paths-enum option to generate ApiPaths enum#2059
9e4f61cThanks @gduliscouet-ubitransport! - Allow all types except UNKNOWN to be nullablev7.4.4Compare Source
Patch Changes
e2d8541Thanks @patzick! - Improved error messages to contain locations.v7.4.3Compare Source
Patch Changes
8d00218Thanks @prewk! - Make pathParamsAsTypes work with integer/boolean typesv7.4.2Compare Source
Patch Changes
c2c396dThanks @DanDeMicco! - Support for generating enums when enums definition has null valuev7.4.1Compare Source
Patch Changes
4a59124Thanks @drwpow! - Bump Redocly Corev7.4.0Compare Source
Minor Changes
a9cd9aaThanks @BradHacker! - Add option to export all root component typesv7.3.3Compare Source
Patch Changes
94592a4Thanks @phk422! - fix: replace special characters usingSPECIAL_CHARACTER_MAPfor duplicate-identifiersv7.3.2Compare Source
Patch Changes
21fb8b0Thanks @phk422! - fix(openapi-typescript): type errors generated underenumValuesv7.3.1Compare Source
Patch Changes
08bde72Thanks @liangskyli! - fix: keyedParameters use unique keyv7.3.0Compare Source
Minor Changes
9939b76Thanks @drwpow! - Don’t generate| undefinedfor additionalPropertiesv7.2.0Compare Source
Minor Changes
b1bbe62Thanks @phk422! - feat: add dedupeEnums optionv7.1.2Compare Source
Patch Changes
335530cThanks @kerwanp! - Ignore configuration files in published packagev7.1.1Compare Source
Patch Changes
c2f8655Thanks @yoshi2no! - Fix: Correct handling of identical minItems and maxItems in array schemas when arrayLength option is truev7.1.0Compare Source
Minor Changes
#1766
0ce35d7Thanks @phk422! - feat: Add the inject option#1768
285b097Thanks @phk422! - feat: Add check optionPatch Changes
#1772
41cb9a2Thanks @ashwin153! - fix: add explicit import of performance to fix bazel compatibility issues#1764
2793049Thanks @michalfedyna! - Fix --properties-required-by-default flag not working#1763
19b9383Thanks @nkt! - fix: schema.content might be omittedv7.0.4Compare Source
Patch Changes
e705909Thanks @phk422! - fix: Correct handling of default parameter values in referenced component schemav7.0.3Compare Source
Patch Changes
8043c5dThanks @yoshi2no! - fix: Enum option cannot generate enums if values are not valid property namesv7.0.2Compare Source
Patch Changes
8f6ec20Thanks @avaly! - Generate valid types for referenced nested propertiesv7.0.1Compare Source
Patch Changes
f47268fThanks @simensol! - Make sure result is an object before using the in operator.v7.0.0Compare Source
Major Changes
6d1eb32Thanks @drwpow! -transform()andpostTransform(). To migrate, you’ll have to use thetypescriptcompiler 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
typescriptparser to inspect how TypeScript is interpreted as an AST.6d1eb32Thanks @drwpow! ---auth,--httpHeaders,--httpMethod, andfetch(Node.js-only) options were all removed from the CLI and Node.js API--immutable-typeshas been renamed to--immutable--support-array-lengthhas been renamed to--array-lengthfbaf96dThanks @drwpow! -redocly.yamlconfig. Specify multiple schemas with outputs in there instead. See Multiple schemas for more info.6d1eb32Thanks @drwpow! -:never. This includes keys of the Components Object as well as HTTP methods.6d1eb32Thanks @drwpow! -externalexport in schemas anymore. Everything gets flattened into thecomponentsobject instead (if referencing a schema object from a remote partial, note it may have had a minor name change to avoid conflict).6d1eb32Thanks @drwpow! -defaultNonNullableoption now defaults totrue. You’ll now need to manually setfalseto return to old behavior.799194dThanks @drwpow~ -openapi-typescriptMinor Changes
6d1eb32Thanks @drwpow! - ✨ Feature: automatically validate schemas with Redocly CLI (docs). No more need for external tools to report errors! 🎉312b7baThanks @drwpow! - ✨ Feature: allow configuration of schemas viaapiskey in redocly.config.yaml. See docs for more info.6d1eb32Thanks @drwpow! - ✨ Feature: addenumoption to export top-level enums from schemas6d1eb32Thanks @drwpow! - ✨ Feature: addformatOptionsto allow formatting TS output6d1eb32Thanks @drwpow! - ✨ Feature: header responses add[key: string]: unknownindex type to allow for additional untyped headers6d1eb32Thanks @drwpow! - ✨ Feature: bundle schemas with Redocly CLI6d1eb32Thanks @drwpow! - ✨ Feature: Added debugger that lets you profile performance and see more in-depth messages#1374
7ac5174Thanks @ElForastero! - Add support for x-enum-varnames and x-enum-descriptions#1545
9158b81Thanks @jaredLunde! - Replace # characters in operation IDs with a slashPatch Changes
6d1eb32Thanks @drwpow! - Refactor internals to use TypeScript AST rather than string mashing6d1eb32Thanks @drwpow! - 🧹 Cleaned up and reorganized all tests#1602
9da96cdThanks @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 was generated by Mend Renovate. View the repository job log.