-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is there a way to make types of System.DateTime be represented as OpenAPI format 'date' (rather than 'date-time')?
I note that there are DateTimeObjectTypeVisitor and DateTimeTypeVisitor classes in Microsoft.Azure.WebJobs.Extensions.OpenApi.Core but I'm not sure whether I can override or replace those implementations.
eg.
public System.DateTime DeliveryDate { get; set; }would be converted to
DeliveryDate:
type: string
format: dateMetadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request