-
-
Notifications
You must be signed in to change notification settings - Fork 548
Format "guid" vs "uuid" #1690
Copy link
Copy link
Open
Description
The OpenAPI format registry and JSON Schema docs indicate "uuid" is supported, but not "guid". When using NSwag to generate OpenApi docs for an Asp.Net core API, properties of type System.Guid use a schema with "format": "guid" by default. Is there a reason that NJsonSchema and by extension NSwag prefer a format not defined by the standards body?
JsonFormatStrings.Uuid is also marked as obsolete.
Reactions are currently unavailable