Open WTIGER001 opened 4 years ago
When I try to use an 'options' method I get an error where it goes to generate the method. The allowed field is undefined. Line 25 of 'process-methods.ts'
const allowed: string[] = conf.allowedParams[method.methodName];
returns an undefined value because 'options' is not an allowedParams property.
Could you, please, post an example of your schema with options method? It seems conf.ts
should be extended.
Allow us to not generate an api method for http options.