15 references to String
Shared (15)
JsonSchemaExporter\JsonSchemaExporter.cs (13)
605[typeof(char)] = _ => new JsonSchema { Type = JsonSchemaType.String, MinLength = 1, MaxLength = 1 }, 606[typeof(string)] = _ => new JsonSchema { Type = JsonSchemaType.String }, 607[typeof(byte[])] = _ => new JsonSchema { Type = JsonSchemaType.String }, 608[typeof(Memory<byte>)] = _ => new JsonSchema { Type = JsonSchemaType.String }, 609[typeof(ReadOnlyMemory<byte>)] = _ => new JsonSchema { Type = JsonSchemaType.String }, 610[typeof(DateTime)] = _ => new JsonSchema { Type = JsonSchemaType.String, Format = "date-time" }, 611[typeof(DateTimeOffset)] = _ => new JsonSchema { Type = JsonSchemaType.String, Format = "date-time" }, 615Type = JsonSchemaType.String, 623[typeof(Guid)] = _ => new JsonSchema { Type = JsonSchemaType.String, Format = "uuid" }, 624[typeof(Uri)] = _ => new JsonSchema { Type = JsonSchemaType.String, Format = "uri" }, 628Type = JsonSchemaType.String, 663schemaType |= JsonSchemaType.String; 753return new() { Type = JsonSchemaType.String };
JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (2)
481JsonSchemaType.String, 524JsonSchemaType.String => "string",