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