Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Commit 30dd96e

Browse files
committed
update mapping json schema, #68
1 parent b935039 commit 30dd96e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main/resources/mapping/v2/mapping.yaml.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@
9191
"result": {
9292
"$ref": "#/definitions/ResultMapping"
9393
},
94+
"resultStyle": {
95+
"$ref": "#/definitions/ResultStyleMapping"
96+
},
9497
"single": {
9598
"$ref": "#/definitions/SingleMapping"
9699
},
@@ -149,6 +152,15 @@
149152
"org.springframework.http.ResponseEntity"
150153
]
151154
},
155+
"ResultStyleMapping": {
156+
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type (since core 2021.5).",
157+
"type": "string",
158+
"default": "success",
159+
"examples": [
160+
"all",
161+
"success"
162+
]
163+
},
152164
"SingleMapping": {
153165
"description": "reactive wrapper of single types.",
154166
"type": "string",

0 commit comments

Comments
 (0)