com.fasterxml.jackson.databind.JsonMappingException:
Problem deserializing class io.serverlessworkflow.api.types.Schema
at [Source: (BufferedInputStream); line: 16, column: 1] (through reference chain: io.serverlessworkflow.api.types.Workflow["input"]->io.serverlessworkflow.api.types.Input["schema"])
......
Suppressed: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "format" (class io.serverlessworkflow.api.types.SchemaInline), not marked as ignorable (one known property: "document"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: io.serverlessworkflow.api.types.SchemaInline["format"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:1153)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:2241)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1821)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1799)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:316)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:177)
at io.serverlessworkflow.serialization.BeanDeserializerWithValidation.deserialize(BeanDeserializerWithValidation.java:47)
at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:342)
at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:4893)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3036)
at com.fasterxml.jackson.databind.ObjectMapper.treeToValue(ObjectMapper.java:3500)
at io.serverlessworkflow.serialization.DeserializeHelper.deserializeOneOf(DeserializeHelper.java:35)
... 69 more
Suppressed: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "format" (class io.serverlessworkflow.api.types.SchemaExternal), not marked as ignorable (one known property: "resource"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: io.serverlessworkflow.api.types.SchemaExternal["format"])
What you expected to happen:
How to reproduce it:
Anything else we need to know?:
As a workaroung, format can be removed.
What happened: Following definition
fails to deserializer with exception
What you expected to happen:
How to reproduce it:
Anything else we need to know?: As a workaroung, format can be removed.
Environment: