Annotation Interface InputJsonType


@Retention(RUNTIME) @Target(PARAMETER) @MinMuleVersion("4.5.0") public @interface InputJsonType
Declares the annotated ParameterModel's MetadataType to the type represented by the provided JSON Schema.

Can only be used on Map, String or InputStream parameters in order to be correctly coerced.

Since:
1.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • schema

      String schema
      Returns:
      a JSON schema that describes the type structure. The schema must live in the extension resources in order to be located.