@Override public void property(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) throws JsonMappingException { schema.putProperty(name, propertySchema(handler, propertyTypeHint)); }
@Override public void property(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) throws JsonMappingException { schema.putProperty(name, propertySchema(handler, propertyTypeHint)); }
@Override public void property(BeanProperty prop) throws JsonMappingException { schema.putProperty(prop, propertySchema(prop)); }
@Override public void property(BeanProperty prop) throws JsonMappingException { schema.putProperty(prop, propertySchema(prop)); }
public WrapperProcessorTest() { final ObjectSchema parameters = new ObjectSchema(); parameters.putProperty("param1", JsonSchema.minimalForFormat(JsonFormatTypes.STRING)); parameters.putProperty("param2", JsonSchema.minimalForFormat(JsonFormatTypes.STRING)); schema.putProperty("parameters", parameters); final ObjectSchema body = new ObjectSchema(); body.putProperty("body1", JsonSchema.minimalForFormat(JsonFormatTypes.STRING)); body.putProperty("body2", JsonSchema.minimalForFormat(JsonFormatTypes.STRING)); schema.putProperty("body", body); }
bindParameters.putProperty("sendAddresses", sendAddressProperty); bindParameters.putProperty("receiveAddresses", receiveAddressProperty); InputParameters bindParametersSchema = new InputParameters(bindParameters); ServiceBindingSchema bindSchema = new ServiceBindingSchema(bindParametersSchema); instanceNameProperty.setMaxLength(64); instanceNameProperty.setPattern("^[a-z][a-z0-9-]{0,63}$"); serviceCreateParameters.putProperty("name", instanceNameProperty); InputParameters createParametersSchema = new InputParameters(serviceCreateParameters); InputParameters updateParametersSchema = null;