How to enforce contracts in API development?

1 points by arter45 ↗ HN
Imagine you start from an API "contract" like a Swagger specification.

You use a generator to automatically convert that spec to boilerplate code. But then you have to add business logic, authentication and so on.

When the API spec change, what do you do? Do you re run the generator? If not, how can you enforce your code is compliant with the spec?

0 comments

[ 2.1 ms ] story [ 8.4 ms ] thread

No comments yet.