Skip to content

Non IS0-8601 compliant date time format #4118

Answered by baywet
bmarkovic17 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bmarkovic17
Thanks for using kiota and for reaching out.
For your information, here is the format registry for OAS
You can:

  • make a local copy of the description, add it to your repository, change the format to "date-time".
  • try to convince the publisher to publish an update to the description.
  • keep the property as is, and use DateTimeOffset manually to parse, manipulate, serialize the value over the generated property.

We've been talking about adding support for OpenAPI overlays lately to support those kind of scenarios, let us know if this is something you'd be interested in.

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@baywet
Comment options

Answer selected by bmarkovic17
Comment options

You must be logged in to vote
8 replies
@baywet
Comment options

@0x090909
Comment options

@0x090909
Comment options

@bmarkovic17
Comment options

@svrooij
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants