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

Represent TimeSpan as formatted string in OpenAPI #5124

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

jander-msft
Copy link
Member

Summary

These changes make sure that TimeSpan is represented as a formatted string in the OpenAPI; this better describes the expected output (see collection rule details example: https://github.com/dotnet/dotnet-monitor/blob/main/documentation/api/collectionrules-get.md#sample-response) as well as leads to better code generation for generating HTTP clients so that the built-in TimeSpan is used rather than generating a new type.

Release Notes Entry

@jander-msft jander-msft requested a review from a team as a code owner August 10, 2023 19:00
@ghost ghost added the needs-review label Aug 10, 2023
@ghost ghost removed the needs-review label Aug 10, 2023
@ghost ghost removed the needs-review label Aug 14, 2023
@jander-msft jander-msft merged commit 304f25f into dotnet:main Aug 16, 2023
27 checks passed
@jander-msft jander-msft deleted the openapi-timespan branch May 20, 2024 05:04
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

Successfully merging this pull request may close these issues.

2 participants