openapi-client-axios icon indicating copy to clipboard operation
openapi-client-axios copied to clipboard

Access to OpenAPI string formats

Open PaulKiddle opened this issue 8 months ago • 0 comments

OpenAPI allows string fields in responses to indicate what type of data they contain using the format property.

Currently this client doesn't expose access to this property in any way, so consumers can't do programmatic data type conversion on these properties.

It would make sense and be very useful to expose this property somehow, possibly through a deserializer or transformer function specifically for strings with formats.

This would be particularly useful for date/time formats, but would also open up flexibility to support any data format the consumer would want to support.

PaulKiddle avatar May 14 '25 10:05 PaulKiddle