All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java-helidon.server.libraries.se.paramValueConverter.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
{{^vendorExtensions.x-helidon-hasEnumClass}}{{!
}}{{^isString}}{{#isDecimal}}BigDecimal::new{{/isDecimal}}{{!
}}{{#isNumber}}BigDecimal::new{{/isNumber}}{{!
}}{{#isDate}}LocalDate::parse{{/isDate}}{{#isDateTime}}OffsetDateTime::parse{{/isDateTime}}{{!
}}{{#isByteArray}}HexFormat.of()::parseHex{{/isByteArray}}{{!
}}{{^isDecimal}}{{^isNumber}}{{^isDate}}{{^isDateTime}}{{^isByteArray}}{{#isContainer}}{{baseType}}{{/isContainer}}{{^isContainer}}{{{dataType}}}{{/isContainer}}::valueOf{{/isByteArray}}{{/isDateTime}}{{/isDate}}{{/isNumber}}{{/isDecimal}}{{/isString}}{{!
}}{{#isString}}String::valueOf{{/isString}}{{!
}}{{/vendorExtensions.x-helidon-hasEnumClass}}{{!
}}{{!

  Some enums are specified using a $ref to a type; to those the code adds the x-helidon-hasEnumClass boolean set to true.
  Others are described in-line in the OpenAPI document and those do not have x-helidon-hasEnumClass.

}}{{#vendorExtensions.x-helidon-hasEnumClass}}{{baseType}}::fromValue{{/vendorExtensions.x-helidon-hasEnumClass}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy