Feature request: Support for {proxy+}

(Phillipkerman) #1

I’m not sure I’m going to use it for this project, but there’s a legit OAS2 way of handling multiple paths in a wildcard fashion using {proxy+}
Basically, any additional paths not specified are turned into a string that, once arriving in my lambda, I can parse it out.
See
https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html

In stoplight, I get an error:
image

(Taylor Barnett) #2

Ignoring the idea of whether or not this is valid OAS, you could turn this rule off if you still want to store your OAS document with this.

Look under Config at the bottom of the left hand project files for the lint file. You can find this rule there to turn off. But just remember it will be for all of your files in the project.