Interface WithExampleSchema<T>

    • Method Detail

      • getExample

        T getExample()
        Gets example JSON Schema field.
        Returns:
        The example value, or null if not defined.
      • setExample

        void setExample​(String example)
                 throws IOException
        Sets example JSON Schema field.
        Parameters:
        example - The example value.
        Throws:
        IOException - When the type of schema cannot be parsed from the String value.