Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 856 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 856 Bytes

Examples

Here you can find examples of how to use:

Integration

Some notes on how Wirespec integrates with different libraries and frameworks

Jackson (json object mapper)

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)