Is there a way to convert an OpenAPI specification to a spring cloud contract?
问题 I'm trying to convert an openAPI specification (written in yaml) into a spring cloud contract YAML DSL. Is there any plugin that could do this type of conversion? 回答1: Yes you can. Please read this blog post on how to encorporate the yaml contract inside the openapi spec https://springframework.guru/defining-spring-cloud-contracts-in-open-api/ 来源: https://stackoverflow.com/questions/56989445/is-there-a-way-to-convert-an-openapi-specification-to-a-spring-cloud-contract