You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems JsonSchemaProperty.ActualSchema.Format could be used in Class.Property.Annotations.liquid, but JsonSchemaProperty is a private field of PropertyModel.
The text was updated successfully, but these errors were encountered:
csehatt741
changed the title
Use custom C# attributes on NSwag DTO Objects based on Data Type format
Use custom C# DataAnnotation attributes on NSwag DTO Objects based on Data Type format
Jan 13, 2021
RicoSuter
added a commit
to RicoSuter/NJsonSchema
that referenced
this issue
Jan 14, 2021
Is it possible to generate custom DataAnnotations on DTO object based on Data Type format?
"Country": {
"type": "string",
"format": "country",
"description": "Country"
}
It seems JsonSchemaProperty.ActualSchema.Format could be used in Class.Property.Annotations.liquid, but JsonSchemaProperty is a private field of PropertyModel.
The text was updated successfully, but these errors were encountered: