13 references to FormatKeyword
Microsoft.AspNetCore.OpenApi (13)
Extensions\JsonNodeSchemaExtensions.cs (10)
88
schema[OpenApiSchemaKeywords.
FormatKeyword
] = "byte";
118
schema[OpenApiSchemaKeywords.
FormatKeyword
] = "uri";
178
schema[OpenApiSchemaKeywords.
FormatKeyword
] = openApiSchema.Format;
222
schema[OpenApiSchemaKeywords.
FormatKeyword
] = null;
233
schema[OpenApiSchemaKeywords.
FormatKeyword
] = constraint is FloatRouteConstraint ? "float" : "double";
238
schema[OpenApiSchemaKeywords.
FormatKeyword
] = constraint is LongRouteConstraint ? "int64" : "int32";
243
schema[OpenApiSchemaKeywords.
FormatKeyword
] = constraint is GuidRouteConstraint ? "uuid" : null;
248
schema[OpenApiSchemaKeywords.
FormatKeyword
] = null;
253
schema[OpenApiSchemaKeywords.
FormatKeyword
] = null;
258
schema[OpenApiSchemaKeywords.
FormatKeyword
] = "date-time";
Schemas\OpenApiJsonSchema.Helpers.cs (1)
233
case OpenApiSchemaKeywords.
FormatKeyword
:
Services\Schemas\OpenApiSchemaService.cs (2)
69
[OpenApiSchemaKeywords.
FormatKeyword
] = "binary"
80
[OpenApiSchemaKeywords.
FormatKeyword
] = "binary"