Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pdimitar
on Sept 16, 2024
|
parent
|
context
|
favorite
| on:
Sqlc: Compile SQL to type-safe code
I have successfully used stronger typing systems (Rust in this example) to code-generate tests.
So they can be utilized to save us some work.
paperplatter
on Sept 17, 2024
[–]
That's neat. It should be just as easy in theory to generate tests from the OpenAPI spec, but idk what tooling there is.
pdimitar
on Sept 17, 2024
|
parent
[–]
Ah, we have `openapi-generator` already (look it up) and it works well enough. I plan on starting to use OpenAPI only for types and be able to generate structs and various other types in several languages -- fingers crossed.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So they can be utilized to save us some work.