Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
littlecranky67
30 days ago
|
parent
|
context
|
favorite
| on:
.NET 10
OpenAPI does support patterns for fields and nullables/non-nullables - that already gets you very far regarding validation. A decently sophisticated generator (which don't exist IMHO) would generate the validation code for your respective language.
robertlagrant
30 days ago
[–]
True, but you can get all the way to zero duplication if you write it directly and share that code.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: