Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Hi there! I am trying out the Smoke framework for the first time and not having any luck, so hoping someone here can answer some simple questions! I have an AWS API Gateway API with one resource and accompanying GET method, which simply passes through some JSON output from a Lambda function. When I export the API as a Swagger (YAML) file and run the smoke-framework-application-generate utility per the instructions, I don't get any stubs for my API. All I get is the "Empty" types and no handler selection logic. I'm hoping there's a simple common mistake? The project code structure that is generated is VERY complicated to even get a test handler working. I've spent a couple of hours and so far have got nothing working. Help!
    Happy to share my Swagger.yaml file if that helps
    Hi @mr-j-tree! Probably sharing your Swagger.yaml file would help so we can hopefully pretty quickly see what is going on
    I am wondering if the issue is that my API Gateway setup doesn't specify incoming models, and just uses Proxy/Passthrough behaviours. Is it possible that Smoke does not allow for this scenario when generating handlers etc?
    Thanks in advance for your help!