Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openapi-typescript

Package Overview
Dependencies
Maintainers
1
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-typescript - npm Package Compare versions

Comparing version 7.0.3 to 7.0.4

2

bin/cli.js

@@ -88,3 +88,3 @@ #!/usr/bin/env node

if (path.isAbsolute(output)) {
return new URL(`file://${output}}`);
return new URL(`file://${output}`);
}

@@ -91,0 +91,0 @@ return new URL(output, CWD);

# openapi-typescript
## 7.0.4
### Patch Changes
- [#1746](https://github.com/openapi-ts/openapi-typescript/pull/1746) [`e705909`](https://github.com/openapi-ts/openapi-typescript/commit/e705909f2b15d8b207be4be22f329e29e5f6444b) Thanks [@phk422](https://github.com/phk422)! - fix: Correct handling of default parameter values in referenced component schema
## 7.0.3

@@ -4,0 +10,0 @@

@@ -286,3 +286,4 @@ import { parseRef } from "@redocly/openapi-core/lib/ref-utils.js";

!options.path?.includes("parameters") &&
!options.path?.includes("requestBody"))
!options.path?.includes("requestBody") &&
!options.path?.includes("requestBodies"))
? undefined

@@ -289,0 +290,0 @@ : QUESTION_TOKEN;

{
"name": "openapi-typescript",
"description": "Convert OpenAPI 3.0 & 3.1 schemas to TypeScript",
"version": "7.0.3",
"version": "7.0.4",
"author": {

@@ -6,0 +6,0 @@ "name": "Drew Powers",

@@ -460,3 +460,4 @@ import { parseRef } from "@redocly/openapi-core/lib/ref-utils.js";

!options.path?.includes("parameters") &&
!options.path?.includes("requestBody")) // parameters can’t be required, even with defaults
!options.path?.includes("requestBody") &&
!options.path?.includes("requestBodies")) // can’t be required, even with defaults
? undefined

@@ -463,0 +464,0 @@ : QUESTION_TOKEN;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc