Skip navigation links
manifold.api.json.codegen.schema

Interface IJsonFormatTypeResolver

    • Method Detail

      • getFormats

        Set<String> getFormats()
        A list of one or more format names such as "date-time", "date", "time" to be referenced in Json Schema "format" types.
        Returns:
      • resolveType

        JsonFormatType resolveType(String format)
        Given a JSON Schema "format" value such as "date-time" provide an JsonFormatType to correspond with the format.
        Parameters:
        format - The JSON Schema "format" value such as "date-time".
        Returns:
        An instance of JsonFormatType to correspond with the format or null if unresolved.

Copyright © 2020. All rights reserved.