Is there a way to validate that a given asp.net core service fulfills an openapi contract?
@peteohanlon do you have any experience with such?

@ladeak It depends what you mean by fulfil here. It's possible to use just the models from an OpenAPI contract, and to completely ignore the entirety of the underlying contract - some teams think this is fulfilling the contract (I don't).

If this is a contract that you own, the easiest way to ensure you fulfil the contract is to Swagger gen the API. That gives you conformant code by default. You can use SwaggerHub or the open source swagger gen to do this (SH uses the swagger gen under the covers).