Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Timespan schema does not match newtonsoft serialization output #217

Open
codyconfer opened this issue Sep 3, 2019 · 0 comments
Open

Timespan schema does not match newtonsoft serialization output #217

codyconfer opened this issue Sep 3, 2019 · 0 comments

Comments

@codyconfer
Copy link

This tool does a great job representing datetime and datetimeoffset in swagger, but timespan does not match newtonsoft's default output.

Expected result:

"timeSpanProp": "00:00:00"

Actual result:

"timeSpanProp": {
  "ticks": 0,
  "days": 0,
  "hours": 0,
  "milliseconds": 0,
  "minutes": 0,
  "seconds": 0,
  "totalDays": 0,
  "totalHours": 0,
  "totalMilliseconds": 0,
  "totalMinutes": 0,
  "totalSeconds": 0
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant