Skip to content

Commit f19ee8e

Browse files
authored
feat(api): update problem response type (#3063)
1 parent a7d6638 commit f19ee8e

File tree

6 files changed

+962
-968
lines changed

6 files changed

+962
-968
lines changed

api/api.gen.go

Lines changed: 339 additions & 339 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/client/go/client.gen.go

Lines changed: 619 additions & 619 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/client/javascript/src/client/schemas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9872,7 +9872,7 @@ export interface components {
98729872
*/
98739873
instance: string
98749874
} & {
9875-
[key: string]: string | number
9875+
[key: string]: unknown
98769876
}
98779877
/** @description Unit price. */
98789878
UnitPrice: {

api/openapi.cloud.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21619,10 +21619,7 @@ components:
2161921619
format: uri
2162021620
description: A URI reference that identifies the specific occurrence of the problem.
2162121621
example: urn:request:local/JMOlctsKV8-000001
21622-
additionalProperties:
21623-
anyOf:
21624-
- type: string
21625-
- type: integer
21622+
additionalProperties: {}
2162621623
description: |-
2162721624
A Problem Details object (RFC 7807).
2162821625
Additional properties specific to the problem type may be present.

api/openapi.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22545,10 +22545,7 @@ components:
2254522545
format: uri
2254622546
description: A URI reference that identifies the specific occurrence of the problem.
2254722547
example: urn:request:local/JMOlctsKV8-000001
22548-
additionalProperties:
22549-
anyOf:
22550-
- type: string
22551-
- type: integer
22548+
additionalProperties: {}
2255222549
description: |-
2255322550
A Problem Details object (RFC 7807).
2255422551
Additional properties specific to the problem type may be present.

api/spec/src/errors.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ model Error {
5555
/**
5656
* Additional properties specific to the problem type may be present.
5757
*/
58-
...Record<string | integer>;
58+
...Record<unknown>;
5959
}
6060

6161
alias CommonErrors =

0 commit comments

Comments
 (0)