Ask HN: How do you make sure a back end matches API-spec?
Hello everyone,I've sort of come to the conclusion that I prefer writing API-specification (Open API in this case) before starting to write the application itself.The reason mainly being that if one writes the specification first, one has to think through the api, its error codes an so forth. There is nothing wrong with going the other way, namely generating the specification from the code....