-
Notifications
You must be signed in to change notification settings - Fork 198
add TimeSpanObjectTypeVisitor #524
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
Conversation
@microsoft-github-policy-service agree |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sinantutan Thanks for your PR! I left a comment. In addition to that, would you be able to add tests for your changes, please?
src/Microsoft.Azure.WebJobs.Extensions.OpenApi.Core/Visitors/TimeSpanObjectTypeVisitor.cs
Show resolved
Hide resolved
…eSpanObjectTypeVisitor
@justinyoo many thanks for reviewing my PR. I've made the changes you requested. Please let me know if anything is missing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sinantutan for your contribution! LGTM
As reported in #401 the type of TimeSpan is incorrectly displayed as a complex object. This PR aims for fixing this issue.
We can then have a new property in our Order class of the type TimeSpan

And achieve the following result
