2023/04/02/contract-first-openapi-development-but-still-use-swagger-ui-with-asp.net-core/ #91
Replies: 1 comment 1 reply
-
Great article, thanks for sharing. As you mentioned in the article, I've seen contracts break but the tests still pass as they are using the same model (e.g. Somebody renames a typo in a property) - this seems a good way of avoiding that. How is maintainability over time? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
2023/04/02/contract-first-openapi-development-but-still-use-swagger-ui-with-asp.net-core/
In C# and .NET land, we’re pretty heavy on the code first approaches, with the odd exception. Let’s take a look at a possible contract first approach to API development, with OpenAPI, but still taking advantage of existing tooling that we’ve come to rely on, like Swagger UI.
https://blog.codingmilitia.com/2023/04/02/contract-first-openapi-development-but-still-use-swagger-ui-with-asp.net-core/
Beta Was this translation helpful? Give feedback.
All reactions