You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration/documenting-messages.mdx
+23-3Lines changed: 23 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,11 +72,11 @@ The default Jackson `ModelResolver` supports schema definitions via `@Schema` to
72
72
73
73
### Using `@Schema`
74
74
75
-
The `@Schema` annotation allows to set many properties like `description`, `example`, `requiredMode` to document payloads.
75
+
The `@Schema` annotation allows to set many properties like `description`, `example`, `requiredMode`, `minimum` to document payloads.
76
76
77
-
All properties are part of the produced AsyncApi file. However, not all are displayed in `springwolf-ui`. The ones listed above are included.
77
+
All properties are part of the produced AsyncApi file. However, not all are displayed in `springwolf-ui` (see [#378](https://github.com/springwolf/springwolf-core/issues/378))
78
78
79
-
### Usage
79
+
####Usage
80
80
81
81
Add the following dependency:
82
82
@@ -114,6 +114,26 @@ The `@AsyncMessage.description` field will always override the `@Schema` descrip
0 commit comments