Skip to content

Commit 8791a51

Browse files
committed
refactor: Rename ApiError to ApiProblemDetails
1 parent 57c6964 commit 8791a51

File tree

45 files changed

+87
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+87
-86
lines changed

ext/hivemq-edge-openapi-2025.13-SNAPSHOT.yaml

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4865,7 +4865,7 @@ components:
48654865
description: List of result items that are returned by this endpoint
48664866
items:
48674867
$ref: '#/components/schemas/BehaviorPolicy'
4868-
ApiError:
4868+
ApiProblemDetails:
48694869
allOf:
48704870
- $ref: '#/components/schemas/ProblemDetails'
48714871
- type: object
@@ -4920,7 +4920,7 @@ components:
49204920
https://hivemq.com/edge/api/model/UrlParameterMissingError: '#/components/schemas/UrlParameterMissingError'
49214921
BehaviorPolicyAlreadyPresentError:
49224922
allOf:
4923-
- $ref: '#/components/schemas/ApiError'
4923+
- $ref: '#/components/schemas/ApiProblemDetails'
49244924
- type: object
49254925
properties:
49264926
id:
@@ -4938,7 +4938,7 @@ components:
49384938
type: https://hivemq.com/edge/api/model/BehaviorPolicyAlreadyPresentError
49394939
BehaviorPolicyCreationFailureError:
49404940
allOf:
4941-
- $ref: '#/components/schemas/ApiError'
4941+
- $ref: '#/components/schemas/ApiProblemDetails'
49424942
example:
49434943
general:
49444944
status: 400
@@ -5391,7 +5391,7 @@ components:
53915391
https://hivemq.com/edge/api/model/UnsupportedFieldValidationError: '#/components/schemas/UnsupportedFieldValidationError'
53925392
BehaviorPolicyInvalidErrors:
53935393
allOf:
5394-
- $ref: '#/components/schemas/ApiError'
5394+
- $ref: '#/components/schemas/ApiProblemDetails'
53955395
- type: object
53965396
properties:
53975397
childErrors:
@@ -5416,7 +5416,7 @@ components:
54165416
type: https://hivemq.com/edge/api/model/IllegalEventTransitionValidationError
54175417
BehaviorPolicyNotFoundError:
54185418
allOf:
5419-
- $ref: '#/components/schemas/ApiError'
5419+
- $ref: '#/components/schemas/ApiProblemDetails'
54205420
- type: object
54215421
properties:
54225422
id:
@@ -5434,7 +5434,7 @@ components:
54345434
type: https://hivemq.com/edge/api/model/BehaviorPolicyNotFoundError
54355435
BehaviorPolicyRejectedError:
54365436
allOf:
5437-
- $ref: '#/components/schemas/ApiError'
5437+
- $ref: '#/components/schemas/ApiProblemDetails'
54385438
example:
54395439
general:
54405440
status: 400
@@ -5443,7 +5443,7 @@ components:
54435443
type: https://hivemq.com/edge/api/model/BehaviorPolicyRejectedError
54445444
BehaviorPolicyUpdateFailureError:
54455445
allOf:
5446-
- $ref: '#/components/schemas/ApiError'
5446+
- $ref: '#/components/schemas/ApiProblemDetails'
54475447
- type: object
54485448
properties:
54495449
id:
@@ -5461,7 +5461,7 @@ components:
54615461
type: https://hivemq.com/edge/api/model/BehaviorPolicyUpdateFailureError
54625462
ClientDisconnectedError:
54635463
allOf:
5464-
- $ref: '#/components/schemas/ApiError'
5464+
- $ref: '#/components/schemas/ApiProblemDetails'
54655465
- type: object
54665466
properties:
54675467
id:
@@ -5479,7 +5479,7 @@ components:
54795479
type: https://hivemq.com/edge/api/model/ClientDisconnectedError
54805480
ClientNotFoundError:
54815481
allOf:
5482-
- $ref: '#/components/schemas/ApiError'
5482+
- $ref: '#/components/schemas/ApiProblemDetails'
54835483
- type: object
54845484
properties:
54855485
id:
@@ -5497,7 +5497,7 @@ components:
54975497
type: https://hivemq.com/edge/api/model/ClientNotFoundError
54985498
DataPolicyAlreadyPresentError:
54995499
allOf:
5500-
- $ref: '#/components/schemas/ApiError'
5500+
- $ref: '#/components/schemas/ApiProblemDetails'
55015501
- type: object
55025502
properties:
55035503
id:
@@ -5515,7 +5515,7 @@ components:
55155515
type: https://hivemq.com/edge/api/model/DataPolicyAlreadyPresentError
55165516
DataPolicyCreationFailureError:
55175517
allOf:
5518-
- $ref: '#/components/schemas/ApiError'
5518+
- $ref: '#/components/schemas/ApiProblemDetails'
55195519
example:
55205520
general:
55215521
status: 400
@@ -5553,7 +5553,7 @@ components:
55535553
https://hivemq.com/edge/api/model/UnsupportedFieldValidationError: '#/components/schemas/UnsupportedFieldValidationError'
55545554
DataPolicyInvalidErrors:
55555555
allOf:
5556-
- $ref: '#/components/schemas/ApiError'
5556+
- $ref: '#/components/schemas/ApiProblemDetails'
55575557
- type: object
55585558
properties:
55595559
childErrors:
@@ -5580,7 +5580,7 @@ components:
55805580
type: https://hivemq.com/edge/api/model/AtMostOneFunctionValidationError
55815581
DataPolicyNotFoundError:
55825582
allOf:
5583-
- $ref: '#/components/schemas/ApiError'
5583+
- $ref: '#/components/schemas/ApiProblemDetails'
55845584
- type: object
55855585
properties:
55865586
id:
@@ -5598,7 +5598,7 @@ components:
55985598
type: https://hivemq.com/edge/api/model/DataPolicyNotFoundError
55995599
DataPolicyRejectedError:
56005600
allOf:
5601-
- $ref: '#/components/schemas/ApiError'
5601+
- $ref: '#/components/schemas/ApiProblemDetails'
56025602
example:
56035603
general:
56045604
status: 400
@@ -5607,7 +5607,7 @@ components:
56075607
type: https://hivemq.com/edge/api/model/DataPolicyRejectedError
56085608
DataPolicyUpdateFailureError:
56095609
allOf:
5610-
- $ref: '#/components/schemas/ApiError'
5610+
- $ref: '#/components/schemas/ApiProblemDetails'
56115611
- type: object
56125612
properties:
56135613
id:
@@ -5625,7 +5625,7 @@ components:
56255625
type: https://hivemq.com/edge/api/model/DataPolicyUpdateFailureError
56265626
PolicyIdMismatchError:
56275627
allOf:
5628-
- $ref: '#/components/schemas/ApiError'
5628+
- $ref: '#/components/schemas/ApiProblemDetails'
56295629
- type: object
56305630
properties:
56315631
actualId:
@@ -5648,7 +5648,7 @@ components:
56485648
type: https://hivemq.com/edge/api/model/PolicyIdMismatchError
56495649
PolicyInsufficientStorageError:
56505650
allOf:
5651-
- $ref: '#/components/schemas/ApiError'
5651+
- $ref: '#/components/schemas/ApiProblemDetails'
56525652
- type: object
56535653
properties:
56545654
id:
@@ -5666,7 +5666,7 @@ components:
56665666
type: https://hivemq.com/edge/api/model/PolicyInsufficientStorageError
56675667
PolicyNotFoundError:
56685668
allOf:
5669-
- $ref: '#/components/schemas/ApiError'
5669+
- $ref: '#/components/schemas/ApiProblemDetails'
56705670
- type: object
56715671
properties:
56725672
id:
@@ -5684,7 +5684,7 @@ components:
56845684
type: https://hivemq.com/edge/api/model/PolicyNotFoundError
56855685
SchemaAlreadyPresentError:
56865686
allOf:
5687-
- $ref: '#/components/schemas/ApiError'
5687+
- $ref: '#/components/schemas/ApiProblemDetails'
56885688
- type: object
56895689
properties:
56905690
id:
@@ -5702,7 +5702,7 @@ components:
57025702
type: https://hivemq.com/edge/api/model/SchemaAlreadyPresentError
57035703
SchemaEtagMismatchError:
57045704
allOf:
5705-
- $ref: '#/components/schemas/ApiError'
5705+
- $ref: '#/components/schemas/ApiProblemDetails'
57065706
- type: object
57075707
properties:
57085708
id:
@@ -5725,7 +5725,7 @@ components:
57255725
type: https://hivemq.com/edge/api/model/SchemaEtagMismatchError
57265726
SchemaInsufficientStorageError:
57275727
allOf:
5728-
- $ref: '#/components/schemas/ApiError'
5728+
- $ref: '#/components/schemas/ApiProblemDetails'
57295729
- type: object
57305730
properties:
57315731
id:
@@ -5762,7 +5762,7 @@ components:
57625762
https://hivemq.com/edge/api/model/UnsupportedFieldValidationError: '#/components/schemas/UnsupportedFieldValidationError'
57635763
SchemaInvalidErrors:
57645764
allOf:
5765-
- $ref: '#/components/schemas/ApiError'
5765+
- $ref: '#/components/schemas/ApiProblemDetails'
57665766
- type: object
57675767
properties:
57685768
childErrors:
@@ -5788,7 +5788,7 @@ components:
57885788
type: https://hivemq.com/edge/api/model/InvalidFieldLengthValidationError
57895789
SchemaNotFoundError:
57905790
allOf:
5791-
- $ref: '#/components/schemas/ApiError'
5791+
- $ref: '#/components/schemas/ApiProblemDetails'
57925792
- type: object
57935793
properties:
57945794
id:
@@ -5806,7 +5806,7 @@ components:
58065806
type: https://hivemq.com/edge/api/model/SchemaNotFoundError
58075807
SchemaParsingFailureError:
58085808
allOf:
5809-
- $ref: '#/components/schemas/ApiError'
5809+
- $ref: '#/components/schemas/ApiProblemDetails'
58105810
- type: object
58115811
properties:
58125812
alias:
@@ -5824,7 +5824,7 @@ components:
58245824
type: https://hivemq.com/edge/api/model/SchemaParsingFailureError
58255825
SchemaReferencedError:
58265826
allOf:
5827-
- $ref: '#/components/schemas/ApiError'
5827+
- $ref: '#/components/schemas/ApiProblemDetails'
58285828
- type: object
58295829
properties:
58305830
id:
@@ -5842,7 +5842,7 @@ components:
58425842
type: https://hivemq.com/edge/api/model/SchemaReferencedError
58435843
ScriptAlreadyPresentError:
58445844
allOf:
5845-
- $ref: '#/components/schemas/ApiError'
5845+
- $ref: '#/components/schemas/ApiProblemDetails'
58465846
- type: object
58475847
properties:
58485848
id:
@@ -5860,7 +5860,7 @@ components:
58605860
type: https://hivemq.com/edge/api/model/ScriptAlreadyPresentError
58615861
ScriptCreationFailureError:
58625862
allOf:
5863-
- $ref: '#/components/schemas/ApiError'
5863+
- $ref: '#/components/schemas/ApiProblemDetails'
58645864
example:
58655865
general:
58665866
status: 400
@@ -5869,7 +5869,7 @@ components:
58695869
type: https://hivemq.com/edge/api/model/ScriptCreationFailureError
58705870
ScriptEtagMismatchError:
58715871
allOf:
5872-
- $ref: '#/components/schemas/ApiError'
5872+
- $ref: '#/components/schemas/ApiProblemDetails'
58735873
- type: object
58745874
properties:
58755875
id:
@@ -5892,7 +5892,7 @@ components:
58925892
type: https://hivemq.com/edge/api/model/ScriptEtagMismatchError
58935893
ScriptInsufficientStorageError:
58945894
allOf:
5895-
- $ref: '#/components/schemas/ApiError'
5895+
- $ref: '#/components/schemas/ApiProblemDetails'
58965896
- type: object
58975897
properties:
58985898
id:
@@ -5927,7 +5927,7 @@ components:
59275927
https://hivemq.com/edge/api/model/UnsupportedFieldValidationError: '#/components/schemas/UnsupportedFieldValidationError'
59285928
ScriptInvalidErrors:
59295929
allOf:
5930-
- $ref: '#/components/schemas/ApiError'
5930+
- $ref: '#/components/schemas/ApiProblemDetails'
59315931
- type: object
59325932
properties:
59335933
childErrors:
@@ -5953,7 +5953,7 @@ components:
59535953
type: https://hivemq.com/edge/api/model/InvalidFieldLengthValidationError
59545954
ScriptNotFoundError:
59555955
allOf:
5956-
- $ref: '#/components/schemas/ApiError'
5956+
- $ref: '#/components/schemas/ApiProblemDetails'
59575957
- type: object
59585958
properties:
59595959
id:
@@ -5971,7 +5971,7 @@ components:
59715971
type: https://hivemq.com/edge/api/model/ScriptNotFoundError
59725972
ScriptParsingFailureError:
59735973
allOf:
5974-
- $ref: '#/components/schemas/ApiError'
5974+
- $ref: '#/components/schemas/ApiProblemDetails'
59755975
example:
59765976
general:
59775977
status: 400
@@ -5980,7 +5980,7 @@ components:
59805980
type: https://hivemq.com/edge/api/model/ScriptParsingFailureError
59815981
ScriptReferencedError:
59825982
allOf:
5983-
- $ref: '#/components/schemas/ApiError'
5983+
- $ref: '#/components/schemas/ApiProblemDetails'
59845984
- type: object
59855985
properties:
59865986
id:
@@ -5998,7 +5998,7 @@ components:
59985998
type: https://hivemq.com/edge/api/model/ScriptReferencedError
59995999
ScriptSanitationFailureError:
60006000
allOf:
6001-
- $ref: '#/components/schemas/ApiError'
6001+
- $ref: '#/components/schemas/ApiProblemDetails'
60026002
example:
60036003
general:
60046004
status: 400
@@ -6007,7 +6007,7 @@ components:
60076007
type: https://hivemq.com/edge/api/model/ScriptSanitationFailureError
60086008
TopicFilterMismatchError:
60096009
allOf:
6010-
- $ref: '#/components/schemas/ApiError'
6010+
- $ref: '#/components/schemas/ApiProblemDetails'
60116011
- type: object
60126012
properties:
60136013
path:
@@ -6024,7 +6024,7 @@ components:
60246024
type: https://hivemq.com/edge/api/model/TopicFilterMismatchError
60256025
InsufficientStorageError:
60266026
allOf:
6027-
- $ref: '#/components/schemas/ApiError'
6027+
- $ref: '#/components/schemas/ApiProblemDetails'
60286028
example:
60296029
general:
60306030
status: 507
@@ -6033,7 +6033,7 @@ components:
60336033
type: https://hivemq.com/edge/api/model/InsufficientStorageError
60346034
InternalServerError:
60356035
allOf:
6036-
- $ref: '#/components/schemas/ApiError'
6036+
- $ref: '#/components/schemas/ApiProblemDetails'
60376037
example:
60386038
general:
60396039
status: 500
@@ -6047,7 +6047,7 @@ components:
60476047
type: https://hivemq.com/edge/api/model/InternalServerError
60486048
InvalidQueryParameterError:
60496049
allOf:
6050-
- $ref: '#/components/schemas/ApiError'
6050+
- $ref: '#/components/schemas/ApiProblemDetails'
60516051
- type: object
60526052
properties:
60536053
parameter:
@@ -6064,7 +6064,7 @@ components:
60646064
type: https://hivemq.com/edge/api/model/InvalidQueryParameterError
60656065
PreconditionFailedError:
60666066
allOf:
6067-
- $ref: '#/components/schemas/ApiError'
6067+
- $ref: '#/components/schemas/ApiProblemDetails'
60686068
example:
60696069
general:
60706070
status: 412
@@ -6073,7 +6073,7 @@ components:
60736073
type: https://hivemq.com/edge/api/model/PreconditionFailedError
60746074
RequestBodyMissingError:
60756075
allOf:
6076-
- $ref: '#/components/schemas/ApiError'
6076+
- $ref: '#/components/schemas/ApiProblemDetails'
60776077
example:
60786078
general:
60796079
status: 400
@@ -6082,7 +6082,7 @@ components:
60826082
type: https://hivemq.com/edge/api/model/RequestBodyMissingError
60836083
RequestBodyParameterMissingError:
60846084
allOf:
6085-
- $ref: '#/components/schemas/ApiError'
6085+
- $ref: '#/components/schemas/ApiProblemDetails'
60866086
- type: object
60876087
properties:
60886088
parameter:
@@ -6099,7 +6099,7 @@ components:
60996099
type: https://hivemq.com/edge/api/model/RequestBodyParameterMissingError
61006100
TemporaryNotAvailableError:
61016101
allOf:
6102-
- $ref: '#/components/schemas/ApiError'
6102+
- $ref: '#/components/schemas/ApiProblemDetails'
61036103
example:
61046104
general:
61056105
status: 503
@@ -6108,7 +6108,7 @@ components:
61086108
type: https://hivemq.com/edge/api/model/TemporaryNotAvailableError
61096109
UrlParameterMissingError:
61106110
allOf:
6111-
- $ref: '#/components/schemas/ApiError'
6111+
- $ref: '#/components/schemas/ApiProblemDetails'
61126112
- type: object
61136113
properties:
61146114
parameter:

ext/openAPI/components/schemas/errors/datahub/BehaviorPolicyAlreadyPresentError.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
allOf:
2-
- $ref: "../ApiError.yaml"
2+
- $ref: "../ApiProblemDetails.yaml"
33
- type: object
44
properties:
55
id:

0 commit comments

Comments
 (0)