Skip to content

Commit e4b6bc7

Browse files
authored
docs(swagger): added missing ApiExcludeController decorator
1 parent 3a9315d commit e4b6bc7

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

content/openapi/decorators.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,25 @@
22

33
All of the available OpenAPI decorators have an `Api` prefix to distinguish them from the core decorators. Below is a full list of the exported decorators along with a designation of the level at which the decorator may be applied.
44

5-
| | |
6-
| ------------------------ | ------------------- |
7-
| `@ApiOperation()` | Method |
8-
| `@ApiResponse()` | Method / Controller |
9-
| `@ApiProduces()` | Method / Controller |
10-
| `@ApiConsumes()` | Method / Controller |
11-
| `@ApiBearerAuth()` | Method / Controller |
12-
| `@ApiOAuth2()` | Method / Controller |
13-
| `@ApiBasicAuth()` | Method / Controller |
14-
| `@ApiSecurity()` | Method / Controller |
15-
| `@ApiExtraModels()` | Method / Controller |
16-
| `@ApiBody()` | Method |
17-
| `@ApiParam()` | Method |
18-
| `@ApiQuery()` | Method |
19-
| `@ApiHeader()` | Method / Controller |
20-
| `@ApiExcludeEndpoint()` | Method |
21-
| `@ApiTags()` | Method / Controller |
22-
| `@ApiProperty()` | Model |
23-
| `@ApiPropertyOptional()` | Model |
24-
| `@ApiHideProperty()` | Model |
25-
| `@ApiExtension()` | Method |
5+
| | |
6+
| ------------------------- | ------------------- |
7+
| `@ApiOperation()` | Method |
8+
| `@ApiResponse()` | Method / Controller |
9+
| `@ApiProduces()` | Method / Controller |
10+
| `@ApiConsumes()` | Method / Controller |
11+
| `@ApiBearerAuth()` | Method / Controller |
12+
| `@ApiOAuth2()` | Method / Controller |
13+
| `@ApiBasicAuth()` | Method / Controller |
14+
| `@ApiSecurity()` | Method / Controller |
15+
| `@ApiExtraModels()` | Method / Controller |
16+
| `@ApiBody()` | Method |
17+
| `@ApiParam()` | Method |
18+
| `@ApiQuery()` | Method |
19+
| `@ApiHeader()` | Method / Controller |
20+
| `@ApiExcludeController()` | Method / Controller |
21+
| `@ApiExcludeEndpoint()` | Method |
22+
| `@ApiTags()` | Method / Controller |
23+
| `@ApiProperty()` | Model |
24+
| `@ApiPropertyOptional()` | Model |
25+
| `@ApiHideProperty()` | Model |
26+
| `@ApiExtension()` | Method |

0 commit comments

Comments
 (0)