5 writes to CreateSchemaReferenceId
Microsoft.AspNetCore.OpenApi.Tests (5)
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) };
167
CreateSchemaReferenceId
= (type) =>
210
CreateSchemaReferenceId
= (type) =>