Here you can find examples of how to use:
- The Gradle Plugin
- The Maven Plugin
- And convert an OpenAPI Specification
- A custom Emitter
- The Spring integration
Some notes on how Wirespec integrates with different libraries and frameworks
For some languages Wirespec is sanitizing enums names because of usage of preserved keywords and forbidden characters. This results into problems with serialization. In Jackson the following configuration can be used to fix this.
ObjectMapper()
.enable(DeserializationFeature.READ_ENUMS_USING_TO_STRING)
.enable(SerializationFeature.WRITE_ENUMS_USING_TO_STRING)