swagger-api / swagger-api/swagger-codegen
[Dart] need centralized place to override format for encoding & decoding of DateTime values
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
we need centralized place to override format for encoding & decoding of DateTime values
not every server API is happy with: return value.toUtc().toIso8601String();
if someone will guide or validate my work, I'd be happy to submit a PR to fix this
Swagger-codegen version
v2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the Dart generator's DateTime encoding and decoding templates, then determine how generated clients currently apply toUtc().toIso8601String(); done means a documented centralized override exists and its behavior is covered by validation or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100