openapi-types
Advanced tools
Comparing version 7.0.1 to 7.2.2
@@ -7,2 +7,9 @@ # openapi-types Changelog | ||
## 1.4.0 - 2021-01-05 | ||
### Added | ||
- Added an index signature to `OperationObject` to allow access to extensions. | ||
### Fixed | ||
- Added `undefined` to the index signature for `PathsObject` to prevent unsafe null access when `strictNullChecks` is enabled. | ||
## 1.3.5 - 2019-05-13 | ||
@@ -9,0 +16,0 @@ ### Fixed |
@@ -56,3 +56,3 @@ export declare namespace OpenAPI { | ||
interface PathsObject { | ||
[pattern: string]: PathItemObject; | ||
[pattern: string]: PathItemObject | undefined; | ||
} | ||
@@ -89,2 +89,3 @@ interface PathItemObject { | ||
servers?: ServerObject[]; | ||
[extension: string]: unknown; | ||
} | ||
@@ -91,0 +92,0 @@ interface ExternalDocumentationObject { |
{ | ||
"name": "openapi-types", | ||
"version": "7.0.1", | ||
"version": "7.2.2", | ||
"description": "Types for OpenAPI documents.", | ||
@@ -24,3 +24,3 @@ "main": "./dist/index.js", | ||
"license": "MIT", | ||
"gitHead": "ce870adee618fc84d7d3683fe0847abe609b3277" | ||
"gitHead": "db26bb847dabc2a17ac4f4f548d8cc47d48aaab7" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23322
590