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-headers.mdx
-75Lines changed: 0 additions & 75 deletions
Original file line number
Diff line number
Diff line change
@@ -54,78 +54,3 @@ public void sendMessage(ExamplePayloadDto msg) {
54
54
// process
55
55
}
56
56
```
57
-
58
-
## Schema
59
-
60
-
Under the hood Springwolf relies on swagger-core `ModelConverters` to define the message schema.
61
-
62
-
By default, the type and example values for the properties are guessed.
63
-
The default Jackson `ModelResolver` supports schema definitions via `@Schema` to overwrite the property definitions.
64
-
65
-
### Using `@Schema`
66
-
67
-
The `@Schema` annotation allows to set many properties like `description`, `example`, `requiredMode`, `minimum` to document payloads.
68
-
69
-
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))
0 commit comments