Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doubt about DateTime and DateTimeOffset #1

Open
renankaic opened this issue Jul 26, 2023 · 3 comments
Open

Doubt about DateTime and DateTimeOffset #1

renankaic opened this issue Jul 26, 2023 · 3 comments

Comments

@renankaic
Copy link

Hello guys!

We are using your project to generate the Swaggers docs to be imported in our clients.

But, we have a doubt regarding the "DateTime" and "DateTimeOffset".
image

As you can see in the image above, the URL parameter is set to "DateTimeOffset".

But, on "SEGW" we set to use "Edm.DateTime" and not "Edm.DateTimeOffset":
image

Please, do you know if we must set to force to use the DateTime elsewhere?

Thank you advance!

@DerGuteWolf
Copy link

Have you checked what's in the $metadata?

@anuragguptagithub
Copy link

anuragguptagithub commented Feb 10, 2025 via email

@DerGuteWolf
Copy link

oasis-tcs/odata-openapi#35 (comment) should give some info

Also precision IMHO only indicated if this has milliseconds or not.
Date vs Date and Time is signalled by sap:display-format="Date" for only Date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants