Roadmap question: would a spec-first OpenAPI workflow fit Cot? #598
firas-yangui
started this conversation in
Ideas
Replies: 1 comment
|
Hello @firas-yangui, that's actually a great idea that I'd love to see working! Having said that, we haven't thought so far about something like this. I imagine it as an extension of the |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi! I’m new to Cot and recently started contributing.
I wanted to ask whether there is a public roadmap or preferred direction for larger design ideas.
One area I’m interested in is a spec-first / contract-first API workflow. Cot already supports code-first OpenAPI generation, where Rust handlers and types generate the OpenAPI spec. I’m curious whether the project would be interested in the inverse direction too:
The goal would be to treat the API spec as the source of truth, which is useful for teams that design APIs contract-first before implementation.
A possible MVP could live as an experimental external crate or CLI tool first, for example:
openapi.yamloperationIdInitial scope could stay intentionally small:
components/schemasNon-goals for a first version:
Would this direction be interesting for Cot, perhaps as a separate experimental crate or tool first? If yes, I’d be happy to write a small RFC / MVP design before implementing anything large.
All reactions