openapi-typesafe-helpers 1.0.0-rc.10 → 1.0.0-rc.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  This package is a fork of `openapi-typescript-helpers`. The entries above `0.1.0` are releases of openapi-typesafe-helpers; `0.1.0` and the entries below it are the upstream history up to the fork point (upstream commit `d46a319a`), with `openapi-typescript-helpers` versions.
4
4
 
5
+ ## 1.0.0-rc.11
6
+
7
+ ### Patch Changes
8
+
9
+ - [#128](https://github.com/openapi-typesafe/openapi-typesafe/pull/128) [`fad3163`](https://github.com/openapi-typesafe/openapi-typesafe/commit/fad31635ed28508082d59c2e0a3ba6e881b20d02) Thanks [@fedorello](https://github.com/fedorello)! - A `json` inside the parameters of a media type no longer makes it a JSON media type in the types,
10
+ as at runtime: an error declared as `text/plain; profile=urn:a+json` or
11
+ `message/http; msgtype=application/json` is typed as the text (`string`) the client returns, and
12
+ `JSONLike`, `RequestBodyJSON`, `SuccessResponseJSON` and `ErrorResponseJSON` leave such media
13
+ types out. Only the media type before the `;` counts, for media ranges (`text/*`) too.
14
+ - Updated dependencies [[`fad3163`](https://github.com/openapi-typesafe/openapi-typesafe/commit/fad31635ed28508082d59c2e0a3ba6e881b20d02), [`fad3163`](https://github.com/openapi-typesafe/openapi-typesafe/commit/fad31635ed28508082d59c2e0a3ba6e881b20d02), [`fad3163`](https://github.com/openapi-typesafe/openapi-typesafe/commit/fad31635ed28508082d59c2e0a3ba6e881b20d02)]:
15
+ - openapi-typesafe-fetch@1.0.0-rc.11
16
+
5
17
  ## 1.0.0-rc.10
6
18
 
7
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "openapi-typesafe-helpers",
3
3
  "description": "TypeScript helpers for consuming openapi-typesafe types",
4
- "version": "1.0.0-rc.10",
4
+ "version": "1.0.0-rc.11",
5
5
  "author": {
6
6
  "name": "Fedor Chishchin",
7
7
  "url": "https://github.com/fedorello"
@@ -37,7 +37,7 @@
37
37
  "url": "https://github.com/openapi-typesafe/openapi-typesafe/issues"
38
38
  },
39
39
  "dependencies": {
40
- "openapi-typesafe-fetch": "^1.0.0-rc.10"
40
+ "openapi-typesafe-fetch": "^1.0.0-rc.11"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^6.0.3",