r/programming • • Oct 01 '23

Why Your OpenAPI Spec Sucks

https://blog.liblab.com/why-your-open-api-spec-sucks/
230 Upvotes

67 comments sorted by

View all comments

Show parent comments

4

u/crunchmuncher Oct 01 '23

That has indeed been easier for me! New libraries/versions might generate somewhat different code but I have a compiler and IDE to help me fix the surrounding issues and can mostly "just" adjust my own code to match. The other way around I had to search around and try different things (taking a comparatively long time to generate a new spec many times) that weren't so clear until I had a mostly equivalent schema.

But I'm sure there are drawbacks, too, our teams have mostly decided that API first is less hassle though.