Hello Team ! Is it possible to generate a stub se...
# help
m
Hello Team ! Is it possible to generate a stub server from an OpenAPI specification using the WireMock standalone JAR? I noticed that this option is available in WireMock Cloud, but I couldn’t find a similar feature in the standalone JAR.
l
This isn’t available out of the box in wiremock oss. I seem to remember there are tools out there that will convert open api into wiremock json so that could get you started. Wiremock cloud has some other nice features over and above stub to open api generation and visa versa. The traffic validation against the schema is particularly nice.
m
@Lee Turner Could you please share the tools to convert open api into wiremock json ?
l
I think it was this one I was thinking about. Never tried it myself though https://openapi-generator.tech/docs/generators/java-wiremock
m
Thank you so much @Lee Turner. I will check this.
🙌 1