Annotation Type PatternProperty

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      ArraySchema array
      The schema of the array to validate against for properties matching the regex.
      String regex
      The regex.
      Schema schema
      The schema to validate against for properties matching the regex.
    • Element Detail

      • regex

        String regex
        The regex.
        Returns:
        the regex
        Default:
        ""
      • schema

        Schema schema
        The schema to validate against for properties matching the regex.
        Returns:
        the schema
        Default:
        @io.swagger.v3.oas.annotations.media.Schema
      • array

        ArraySchema array
        The schema of the array to validate against for properties matching the regex.
        Returns:
        the schema of the array
        Default:
        @io.swagger.v3.oas.annotations.media.ArraySchema