The output of a run with the current code in the PR, on the ApiListener.setMethods(HttpMethod... methods) is:
<xs:attribute name="methods">
<xs:annotation>
<xs:documentation>HTTP method(s) to listen to, separated by comma Default: GET</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:union memberTypes="HttpMethodAttributeValuesType variableRef" />
</xs:simpleType>
</xs:attribute>
I have a little doubt if this is okay 'enough'. The Enum is a list, but actually we can put in multiple values as a String. So, perhaps I should change it to type xs:string when a VarArg is supplied?
The output of a run with the current code in the PR, on the
ApiListener.setMethods(HttpMethod... methods)
is:I have a little doubt if this is okay 'enough'. The Enum is a list, but actually we can put in multiple values as a String. So, perhaps I should change it to type
xs:string
when a VarArg is supplied?