82 references to OpenApiOptions
Microsoft.AspNetCore.OpenApi.Microbenchmarks (2)
GenerationBenchmarks.cs (1)
24
private readonly OpenApiOptions _options = new
OpenApiOptions
();
TransformersBenchmark.cs (1)
25
private readonly OpenApiOptions _options =
new
();
Microsoft.AspNetCore.OpenApi.Tests (80)
Services\CreateSchemaReferenceIdTests.cs (5)
30
var options = new
OpenApiOptions
{ CreateSchemaReferenceId = createReferenceId };
68
var options = new
OpenApiOptions
{ CreateSchemaReferenceId = (type) => type.Type.Name == "Todo" ? $"{type.Type.Name}Schema" : OpenApiOptions.CreateDefaultSchemaReferenceId(type) };
117
var options = new
OpenApiOptions
{ CreateSchemaReferenceId = (type) => type.Type.Name == "Todo" ? null : OpenApiOptions.CreateDefaultSchemaReferenceId(type) };
165
var options = new
OpenApiOptions
208
var options = new
OpenApiOptions
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Info.cs (1)
62
openApiOptions.Setup(o => o.Get(It.IsAny<string>())).Returns(new
OpenApiOptions
());
Services\OpenApiDocumentServiceTestsBase.cs (2)
32
=> await VerifyOpenApiDocument(builder, new
OpenApiOptions
(), verifyOpenApiDocument, cancellationToken);
86
openApiOptions.Setup(o => o.Get(It.IsAny<string>())).Returns(new
OpenApiOptions
());
Transformers\DocumentTransformerTests.cs (10)
20
var options = new
OpenApiOptions
();
47
var options = new
OpenApiOptions
();
64
var options = new
OpenApiOptions
();
81
var options = new
OpenApiOptions
();
107
var options = new
OpenApiOptions
();
133
var options = new
OpenApiOptions
();
152
var options = new
OpenApiOptions
();
171
var options = new
OpenApiOptions
();
199
var options = new
OpenApiOptions
();
226
var options = new
OpenApiOptions
();
Transformers\Implementations\OpenApiSchemaReferenceTransformerTests.cs (2)
276
var options = new
OpenApiOptions
();
461
var options = new
OpenApiOptions
();
Transformers\OpenApiOptionsTests.cs (9)
13
var options = new
OpenApiOptions
();
35
var options = new
OpenApiOptions
();
53
var options = new
OpenApiOptions
();
70
var options = new
OpenApiOptions
();
92
var options = new
OpenApiOptions
();
110
var options = new
OpenApiOptions
();
127
var options = new
OpenApiOptions
();
149
var options = new
OpenApiOptions
();
167
var options = new
OpenApiOptions
();
Transformers\OperationTransformerTests.cs (13)
20
var options = new
OpenApiOptions
();
54
var options = new
OpenApiOptions
();
147
var options = new
OpenApiOptions
();
186
var options = new
OpenApiOptions
();
219
var options = new
OpenApiOptions
();
248
var options = new
OpenApiOptions
();
278
var options = new
OpenApiOptions
();
328
var options = new
OpenApiOptions
();
347
var options = new
OpenApiOptions
();
378
var options = new
OpenApiOptions
();
409
var options = new
OpenApiOptions
();
436
var options = new
OpenApiOptions
();
464
var options = new
OpenApiOptions
();
Transformers\SchemaTransformerTests.cs (25)
21
var options = new
OpenApiOptions
();
76
var options = new
OpenApiOptions
();
113
var options = new
OpenApiOptions
();
134
var options = new
OpenApiOptions
();
152
var options = new
OpenApiOptions
();
181
var options = new
OpenApiOptions
();
211
var options = new
OpenApiOptions
();
241
var options = new
OpenApiOptions
();
264
var options = new
OpenApiOptions
();
288
var options = new
OpenApiOptions
();
326
var options = new
OpenApiOptions
();
363
var options = new
OpenApiOptions
();
389
var options = new
OpenApiOptions
();
415
var options = new
OpenApiOptions
();
448
var options = new
OpenApiOptions
();
483
var options = new
OpenApiOptions
();
518
var options = new
OpenApiOptions
();
553
var options = new
OpenApiOptions
();
594
var options = new
OpenApiOptions
();
635
var options = new
OpenApiOptions
();
676
var options = new
OpenApiOptions
();
711
var options = new
OpenApiOptions
();
766
var options = new
OpenApiOptions
();
793
var options = new
OpenApiOptions
();
820
var options = new
OpenApiOptions
();
Transformers\TypeBasedTransformerLifetimeTests.cs (13)
16
var options = new
OpenApiOptions
();
38
var options = new
OpenApiOptions
();
64
var options = new
OpenApiOptions
();
90
var options = new
OpenApiOptions
();
115
var options = new
OpenApiOptions
();
137
var options = new
OpenApiOptions
();
162
var options = new
OpenApiOptions
();
188
var options = new
OpenApiOptions
();
213
var options = new
OpenApiOptions
();
234
var options = new
OpenApiOptions
();
257
var options = new
OpenApiOptions
();
283
var options = new
OpenApiOptions
();
309
var options = new
OpenApiOptions
();