java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.ParameterSchema<BigDecimal>
io.github.primelib.webmethodsapigateway4j.model.NumberSchema

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class NumberSchema extends ParameterSchema<BigDecimal>
NumberSchema
  • Felddetails

    • _default

      protected BigDecimal _default
      The default value represents what would be assumed by the consumer of the input as the value of the schema if one is not provided. Unlike JSON Schema, the value MUST conform to the defined type for the Schema Object defined at the same level. For example, if type is string, then default can be "foo" but cannot be 1
    • _enum

      protected List<BigDecimal> _enum
    • type

      protected String type
  • Konstruktordetails

    • NumberSchema

      @Internal public NumberSchema(Consumer<NumberSchema> spec)
      Constructs a validated implementation of NumberSchema.
      Parameter:
      spec - the specification to process
    • NumberSchema

      public NumberSchema(BigDecimal _default, List<BigDecimal> _enum, String type)
    • NumberSchema

      protected NumberSchema()
  • Methodendetails