1 instantiation of ModelWithDefaults
Sample (1)
Endpoints\MapSchemasEndpoints.cs (1)
68
schemas.MapGet("/optional-with-default", () => TypedResults.Ok(new
ModelWithDefaults
()));
3 references to ModelWithDefaults
Sample (3)
artifacts\obj\Sample\Release\net10.0\generated\Microsoft.AspNetCore.Http.RequestDelegateGenerator\Microsoft.AspNetCore.Http.RequestDelegateGenerator.RequestDelegateGenerator\GeneratedRouteBuilderExtensions.g.cs (3)
4356
PopulateMetadataForEndpoint<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::SchemasEndpointsExtensions.
ModelWithDefaults
>>(methodInfo, options.EndpointBuilder);
4365
var handler = Cast(del, global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::SchemasEndpointsExtensions.
ModelWithDefaults
> () => throw null!);
4421
var castHandler = Cast(handler, global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::SchemasEndpointsExtensions.
ModelWithDefaults
> () => throw null!);