openapi3-ts
Advanced tools
Comparing version 3.2.0 to 4.0.0
# Changelog: openapi3-ts | ||
## Version 4.0.0 | ||
2023.03.27 | ||
- Breaking change. Adds explicit support for OAS 3.0 and OAS 3.1 as separate implementations. | ||
## Version 3.2.0 | ||
@@ -4,0 +10,0 @@ |
@@ -1,1 +0,1 @@ | ||
export * from './OpenApiBuilder.js'; | ||
export * from './openapi-builder31.js'; |
@@ -17,2 +17,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./OpenApiBuilder.js"), exports); | ||
__exportStar(require("./openapi-builder31.js"), exports); |
export * from './model/index.js'; | ||
export * from './dsl/index.js'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -1,3 +0,3 @@ | ||
export * from './SpecificationExtension.js'; | ||
export * from './OpenApi.js'; | ||
export * from './Server.js'; | ||
export * from './openapi31.js'; | ||
export * from './server.js'; | ||
export * from './specificationExtension.js'; |
@@ -17,4 +17,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./SpecificationExtension.js"), exports); | ||
__exportStar(require("./OpenApi.js"), exports); | ||
__exportStar(require("./Server.js"), exports); | ||
__exportStar(require("./openapi31.js"), exports); | ||
__exportStar(require("./server.js"), exports); | ||
__exportStar(require("./specificationExtension.js"), exports); |
@@ -1,1 +0,1 @@ | ||
export * from './OpenApiBuilder.js'; | ||
export * from './openapi-builder31.js'; |
@@ -1,1 +0,1 @@ | ||
export * from './OpenApiBuilder.js'; | ||
export * from './openapi-builder31.js'; |
export * from './model/index.js'; | ||
export * from './dsl/index.js'; |
export * from './model/index.js'; | ||
export * from './dsl/index.js'; |
@@ -1,3 +0,3 @@ | ||
export * from './SpecificationExtension.js'; | ||
export * from './OpenApi.js'; | ||
export * from './Server.js'; | ||
export * from './openapi31.js'; | ||
export * from './server.js'; | ||
export * from './specificationExtension.js'; |
@@ -1,3 +0,3 @@ | ||
export * from './SpecificationExtension.js'; | ||
export * from './OpenApi.js'; | ||
export * from './Server.js'; | ||
export * from './openapi31.js'; | ||
export * from './server.js'; | ||
export * from './specificationExtension.js'; |
{ | ||
"name": "openapi3-ts", | ||
"version": "3.2.0", | ||
"version": "4.0.0", | ||
"description": "TS Model & utils for OpenAPI 3.x specification.", | ||
@@ -36,17 +36,17 @@ "main": "dist/cjs/index.js", | ||
"devDependencies": { | ||
"@types/node": "^18.14.0", | ||
"@typescript-eslint/eslint-plugin": "^5.53.0", | ||
"@typescript-eslint/parser": "^5.53.0", | ||
"@vitest/coverage-c8": "^0.28.5", | ||
"@types/node": "^18.15.10", | ||
"@typescript-eslint/eslint-plugin": "^5.56.0", | ||
"@typescript-eslint/parser": "^5.56.0", | ||
"@vitest/coverage-c8": "^0.29.7", | ||
"c8": "^7.13.0", | ||
"coveralls": "^3.1.1", | ||
"eslint": "^8.34.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint": "^8.36.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"prettier": "^2.8.4", | ||
"rimraf": "^4.1.2", | ||
"typescript": "~4.9.5", | ||
"vitest": "^0.28.5", | ||
"vitest-teamcity-reporter": "^0.1.10" | ||
"prettier": "^2.8.7", | ||
"rimraf": "^4.4.1", | ||
"typescript": "~5.0.2", | ||
"vitest": "^0.29.7", | ||
"vitest-teamcity-reporter": "^0.1.12" | ||
} | ||
} |
@@ -11,2 +11,8 @@ # OpenApi3-TS | ||
## Version 4 | ||
*Breaking change notice:* | ||
Version 4.0 Adds explicit support for OAS 3.0 and OAS 3.1 as separate implementations. | ||
## Includes | ||
@@ -41,2 +47,2 @@ | ||
(c) 2017-2022. [Pedro J. Molina](http://pjmolina.com) at Metadev S.L. [https://metadev.pro](https://metadev.pro) & contributors. | ||
(c) 2017-2023. [Pedro J. Molina](http://pjmolina.com) at Metadev S.L. [https://metadev.pro](https://metadev.pro) & contributors. |
@@ -1,1 +0,1 @@ | ||
export * from './OpenApiBuilder.js'; | ||
export * from './openapi-builder31.js'; |
@@ -0,1 +1,2 @@ | ||
import { describe, expect, it } from 'vitest'; | ||
import { OpenApiBuilder, Server, ServerVariable } from '.'; | ||
@@ -6,12 +7,12 @@ | ||
const sut = OpenApiBuilder.create(); | ||
expect(sut).not.null; | ||
expect(sut).not.toBeNull; | ||
}); | ||
it('Server is exported', () => { | ||
const sut = new Server('a', 'b'); | ||
expect(sut).not.null; | ||
expect(sut).not.toBeNull; | ||
}); | ||
it('ServerVariable is exported', () => { | ||
const sut = new ServerVariable('a', ['b'], 'c'); | ||
expect(sut).not.null; | ||
expect(sut).not.toBeNull; | ||
}); | ||
}); |
@@ -1,3 +0,3 @@ | ||
export * from './SpecificationExtension.js'; | ||
export * from './OpenApi.js'; | ||
export * from './Server.js'; | ||
export * from './openapi31.js'; | ||
export * from './server.js'; | ||
export * from './specificationExtension.js'; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
161881
66
4429
47
1