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

scala-sttp4.paramMultipartCreation.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
{{#required}}
    {{#isFile}}
        multipartFile("{{baseName}}", {{#isContainer}}ArrayValues({{{paramName}}}{{#collectionFormat}}, {{collectionFormat.toUpperCase}}{{/collectionFormat}}){{/isContainer}}{{^isContainer}}{{{paramName}}}{{/isContainer}})
    {{/isFile}}
    {{^isFile}}
        multipart("{{baseName}}", {{paramName}})
    {{/isFile}}
{{/required}}
{{^required}}
    {{#isFile}}
        {{paramName}}.map(multipartFile("{{baseName}}", _))
    {{/isFile}}
    {{^isFile}}
        {{paramName}}.map(multipart("{{baseName}}", {{#isContainer}}ArrayValues(_{{#collectionFormat}}, {{collectionFormat.toUpperCase}}{{/collectionFormat}}){{/isContainer}}{{^isContainer}}_{{/isContainer}}))
    {{/isFile}}
{{/required}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy