8 references to Status
Microsoft.AspNetCore.OpenApi.Tests (8)
Services\OpenApiSchemaService\OpenApiSchemaService.ParameterSchemas.cs (7)
166[(Status status = Status.Pending) => { }, (IOpenApiAny defaultValue) => Assert.Equal("Pending", ((OpenApiString)defaultValue).Value)], 172[([DefaultValue(Status.Pending)] Status status) => { }, (IOpenApiAny defaultValue) => Assert.Equal("Pending", ((OpenApiString)defaultValue).Value)], 229builder.MapGet("/api", (Status status) => { }); 610builder.MapGet("/api/with-enum", (Status status) => status); 647private Status GetItemStatus([FromQuery] Status status) => status;
Shared\SharedTypes.cs (1)
39[JsonConverter(typeof(JsonStringEnumConverter<Status>))]