makeitdouble 2 days ago

I see your point, yet writing openapi specs by hand is pretty common.

There is the part where dealing with another tool isn't much worth it most of the time, and the other side where we're already reading/writing screens of yaml or yaml like docs all the time.

Taking time to properly think about and define an entry point is reasonable enough.

0x696C6961 2 days ago

Being verbose doesn't make it difficult.

  • WickyNilliams 2 days ago

    Not necessarily, no. But at a certain point, I believe it does. Difficult to read, is difficult to edit, is difficult to work with.

    A sibling comment to your reply expressed the same sentiment as me, and also mentioned typespec as a possible solution

btreecat a day ago

The standard pattern in go and some scala libs, is to define the spec and generate the code.

I think you're over fitting your own experiences.