Im trying to understand how to take our existing servicestack application and make it work with the AWS API Gateway…
I understand that the API gateway support Swagger and OpenAPI and so does servicestack.
With my very nieve understanding, I’m GUESSING that if I use service stack to generate an swagger file
Save it and import it into the AWS API gateway, this might be the starting point to configure API Gateway?
When i do so i get this error.
Your API was not imported due to errors in the Swagger file.
Unable to create model for ‘xxxxx’: Invalid model specified: Validation Result: warnings : [], errors : [Invalid model schema specified]
I’m not really sure if what I’m trying is possible or needed.
I know I could simply expose the IP of our self-hosted app that’s running in a container and be done with it, but then i would not have capabilities provided by the API gateway such as DDOS management and AWS IAM permission management.