Skip to content

Commit f4f3ef5

Browse files
author
Carlos Tasada
committed
Fix
1 parent 282a7c0 commit f4f3ef5

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

docs/configuration/documenting-messages.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,5 @@ static class StringEnvelope {
136136
```
137137

138138
:::info
139-
See [Add-Ons](../add-ons.md) for more information on how to document other formats
139+
See [Add-Ons](../add-ons) for more information on how to document other formats
140140
:::

docs/introduction/supported-protocols.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,9 @@ Using [`@AsyncListener`](../configuration/documenting-consumers.md) and [`@Async
3131

3232
The protocols with native support come along with a `@_ProtocolName_Binding` annotation to define protocol specific properties.
3333

34-
### `springwolf-generic-binding` add-on
35-
36-
The `springwolf-generic-binding` add-on allows to document any binding.
37-
This includes bindings not supported by Springwolf, but also any custom fields not part of the AsyncAPI specification.
38-
39-
```java
40-
@AsyncPublisher(...)
41-
@AsyncGenericOperationBinding(
42-
type = "custom-protocol-binding",
43-
fields = {
44-
"internal-field=customValue",
45-
"nested.key=nestedValue"})
46-
public void sendMessage(AnotherPayloadDto msg) {
47-
// publish message
48-
}
49-
```
34+
:::info
35+
See [Add-Ons / Generic Annotation Binding](../add-ons#generic-binding)
36+
:::
5037

5138
[amqp]:https://github.com/springwolf/springwolf-core/tree/master/springwolf-examples/springwolf-amqp-example
5239
[cloud-stream]:https://github.com/springwolf/springwolf-core/tree/master/springwolf-examples/springwolf-cloud-stream-example

0 commit comments

Comments
 (0)