Skip to content

Commit db41268

Browse files
committed
refactor: Add example to TopicFilterMismatchError
1 parent ac35648 commit db41268

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5831,14 +5831,18 @@ components:
58315831
- $ref: '#/components/schemas/ApiError'
58325832
- type: object
58335833
properties:
5834-
message:
5835-
type: string
5836-
description: The error message.
58375834
path:
58385835
type: string
58395836
description: The json path of the topic filter.
5837+
example: $.filter
58405838
required:
58415839
- path
5840+
example:
5841+
general:
5842+
status: 400
5843+
title: Topic Filter Mismatch
5844+
detail: The topic filter '$.filter' mismatches.
5845+
type: https://hivemq.com/edge/api/model/TopicFilterMismatchError
58425846
InsufficientStorageError:
58435847
allOf:
58445848
- $ref: '#/components/schemas/ApiError'

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ allOf:
22
- $ref: "../ApiError.yaml"
33
- type: object
44
properties:
5-
message:
6-
type: string
7-
description: The error message.
85
path:
96
type: string
107
description: The json path of the topic filter.
8+
example: "$.filter"
119
required:
1210
- path
11+
example:
12+
general:
13+
status: 400
14+
title: "Topic Filter Mismatch"
15+
detail: "The topic filter '$.filter' mismatches."
16+
type: "https://hivemq.com/edge/api/model/TopicFilterMismatchError"

0 commit comments

Comments
 (0)