44 references to Ok
AzureFunctionsEndToEnd.ApiService (3)
IdentitySample.PasskeyConformance (4)
Microsoft.AspNetCore.Http.Results (1)
Microsoft.AspNetCore.Http.Results.Tests (1)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
Microsoft.AspNetCore.OpenApi.Tests (1)
MilvusPlayground.ApiService (1)
MinimalFormSample (2)
MySql.ApiService (1)
Nats.ApiService (2)
RateLimitingSample (2)
Sample (15)
Endpoints\MapSchemasEndpoints.cs (10)
20schemas.MapGet("/iresult-no-produces", () => Results.Ok(new Triangle { Color = "red", Sides = 3, Hypotenuse = 5.0 }));
21schemas.MapGet("/iresult-with-produces", () => Results.Ok(new Triangle { Color = "red", Sides = 3, Hypotenuse = 5.0 }))
38schemas.MapPost("/parent", (ParentObject parent) => Results.Ok(parent));
39schemas.MapPost("/child", (ChildObject child) => Results.Ok(child));
46schemas.MapPost("/config-with-generic-lists", (Config config) => Results.Ok(config));
47schemas.MapPost("/project-response", (ProjectResponse project) => Results.Ok(project));
48schemas.MapPost("/subscription", (Subscription subscription) => Results.Ok(subscription));
63schemas.MapPost("/nullable-request", (NullableRequestModel? request) => Results.Ok(request));
64schemas.MapPost("/complex-nullable-hierarchy", (ComplexHierarchyModel model) => Results.Ok(model));
67schemas.MapPost("/nullable-array-elements", (NullableArrayModel model) => Results.Ok(model));
SimpleWebSiteWithWebApplicationBuilder (2)
TestProject.IntegrationServiceA (3)
WebApplication1 (2)
WebApplication2 (2)