Skip to content

Commit 1fca709

Browse files
chore(release): 2.0.0 [skip ci]
# [2.0.0](v1.1.1...v2.0.0) (2023-08-03) ### Bug Fixes * **enumeration:** correct enumeration naming ([c815d6a](c815d6a)) ### BREAKING CHANGES * **enumeration:** The naming conventions for enumerations within the package have been updated to avoid conflicts in most cases. Previously, only the field name was used for the enumeration included in a path specification (components were fine). Now it includes all elements of the path, other than any "v(\d+)" prefix and other than the word "parameters." At some point this should be improved to just exclude the real "parameters" component of the schema.
1 parent c815d6a commit 1fca709

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# [2.0.0](https://github.com/openapi-typescript-infra/openapi-typescript-enum/compare/v1.1.1...v2.0.0) (2023-08-03)
2+
3+
4+
### Bug Fixes
5+
6+
* **enumeration:** correct enumeration naming ([c815d6a](https://github.com/openapi-typescript-infra/openapi-typescript-enum/commit/c815d6a49a699d8be880577da08e8a7c59b33fe8))
7+
8+
9+
### BREAKING CHANGES
10+
11+
* **enumeration:** The naming conventions for enumerations
12+
within the package have been updated to avoid conflicts in most cases.
13+
Previously, only the field name was used for the enumeration included
14+
in a path specification (components were fine). Now it includes all
15+
elements of the path, other than any "v(\d+)" prefix and
16+
other than the word "parameters." At some point this should be improved
17+
to just exclude the real "parameters" component of the schema.
18+
119
## [1.1.1](https://github.com/openapi-typescript-infra/openapi-typescript-enum/compare/v1.1.0...v1.1.1) (2023-07-28)
220

321

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openapi-typescript-infra/openapi-typescript-enum",
3-
"version": "1.1.1",
3+
"version": "2.0.0",
44
"description": "A version of openapi-typescript that also generates enumerations",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",

0 commit comments

Comments
 (0)