Interface JsonSchemaProvider


@Contract public interface JsonSchemaProvider
Json schema provider related to the specific class.

This type is expected to be code generated by Helidon. Instances are queried via service registry, though they can also be provided as Java ServiceLoader providers.

  • Method Summary

    Modifier and Type
    Method
    Description
    The String format of the schema.
    Json schema represented as an object.
    Class this schema is describing.
  • Method Details

    • schemaClass

      Class<?> schemaClass()
      Class this schema is describing.
      Returns:
      schema class
    • jsonSchema

      String jsonSchema()
      The String format of the schema.
      Returns:
      json schema string
    • schema

      Schema schema()
      Json schema represented as an object.
      Returns:
      json schema object