Skip to content

Commit 7ba7730

Browse files
authored
docs: correct AsyncApi class decorator documentation
1 parent 1704620 commit 7ba7730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function bootstrap() {
5757

5858
AsyncApi module explores `Controllers` & `WebSocketGateway` by default.
5959
In most cases you won't need to add extra annotation,
60-
but if you need to define asyncApi operations in a class that's not a controller or gateway use `AsyncApiClass`
60+
but if you need to define asyncApi operations in a class that's not a controller or gateway use the `AsyncApi` class
6161
decorator.
6262

6363
Mark pub/sub methods via `AsyncApiPub` or `AsyncApiSub` decorators<br/>
@@ -96,4 +96,4 @@ class DemoController {
9696
For more detailed examples please check out https://github.com/flamewow/nestjs-asyncapi/tree/main/sample sample app.
9797

9898
<h5>Do you use this library and like it? Don't be shy to give it a star
99-
on <a href="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/flamewow/nestjs-asyncapi">github <span style="color:yellow;">★</span></a></h3>
99+
on <a href="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/flamewow/nestjs-asyncapi">github <span style="color:yellow;">★</span></a></h3>

0 commit comments

Comments
 (0)