Skip to content

Commit 2ddf75e

Browse files
committed
Better TOC in the Customization page
1 parent d271771 commit 2ddf75e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

aspnetcore/fundamentals/openapi/customize-openapi.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ uid: fundamentals/openapi/customize-openapi
1414

1515
## OpenAPI document transformers
1616

17-
This section demonstrates how to customize OpenAPI documents with transformers.
18-
19-
### Customize OpenAPI documents with transformers
20-
2117
Transformers provide an API for modifying the OpenAPI document with user-defined customizations. Transformers are useful for scenarios like:
2218

2319
* Adding parameters to all operations in a document.
@@ -50,7 +46,7 @@ Transformers execute in first-in first-out order based on registration. In the f
5046

5147
[!code-csharp[](~/fundamentals/openapi/samples/9.x/WebMinOpenApi/Program.cs?name=snippet_transInOut&highlight=3-9)]
5248

53-
### Use document transformers
49+
## Use document transformers
5450

5551
Document transformers have access to a context object that includes:
5652

@@ -73,7 +69,7 @@ Document transformers are unique to the document instance they're associated wit
7369

7470
[!code-csharp[](~/fundamentals/openapi/samples/9.x/WebMinOpenApi/Program.cs?name=snippet_multidoc_operationtransformer1)]
7571

76-
### Use operation transformers
72+
## Use operation transformers
7773

7874
Operations are unique combinations of HTTP paths and methods in an OpenAPI document. Operation transformers are helpful when a modification:
7975

@@ -90,7 +86,7 @@ For example, the following operation transformer adds `500` as a response status
9086

9187
[!code-csharp[](~/fundamentals/openapi/samples/9.x/WebMinOpenApi/Program.cs?name=snippet_operationtransformer1)]
9288

93-
### Use schema transformers
89+
## Use schema transformers
9490

9591
Schemas are the data models that are used in request and response bodies in an OpenAPI document. Schema transformers are useful when a modification:
9692

0 commit comments

Comments
 (0)