请访问:https://docs.spring.io/spring-cloud-contract/reference/4.3/howto/how-to-not-write-contracts-in-groovy.html spring-cloud-contract “How-to” Guides How Can I Write Contracts in a Language Other than Groovy? Why use Spring Cloud Contract? How Can I Provide Dynamic Values to a Contract?