Hello, I'm trying to write a patch for jenkins to add support for adding file parameterizations to the GET/POST api. (Basically implementing https://github.com/PerilousApricot/jenkins/blob/master/core/src/main/java/hudson/model/FileParameterDefinition.java#L72 ).
I'm unsure of what to do if no file is POSTed to the endpoint. Should I create a dummy blank file and pass that in the FileParameterValue, modify FileParameterValue to allow null for the file member or simply return a null for FileParameterValue and then change ParametersDefinitionProperty to accept null values for parameters (i.e. https://github.com/PerilousApricot/jenkins/blob/master/core/src/main/java/hudson/model/ParametersDefinitionProperty.java#L145). I figure I'd ask to write something that would actually make it upstream to you guys on the first try instead of rewriting it. Thanks, Andrew -- -- Andrew Melo
