I have a datatype hostname which is defined as a string with a regex pattern of alphanumeric. In the raml, for a parameter, I have defined it as an array of hostname. But the regex is not being validated at the gateway for this API using the RAML. Another issue with this setup is that asterisk is working everywhere else except the first character. Did anyone face this issue and any thoughts to resolve this.
#%RAML 1.0 DataType
Type Declaration in main raml:
HostName: !include DataTypes/HostName.raml
Parameter defintion in the query parameter: