GithubHelp home page GithubHelp logo

Comments (5)

ac360 avatar ac360 commented on June 20, 2024

👍 We're still working on this. It's critical. API Gateway is still in its infancy and automating API Gateway operations has been tough.

• There is no aws-sdk support for API Gateway, so we can't use that to create endpoints for people.
• The api-gateway-swagger-import-tool is a standalone java tool that people have to install and build locally before they can use it.

The awsm.json (previously lambda.json) could definitely include API Gateway data. I just put in the Google document that it should include a swagger snippet, since swagger is a powerful standard. Perhaps when installing a module, it will fetch the module's swagger and add it to the project's main swagger.json like it does with CloudFormation templates.

from serverless.

marvinosswald avatar marvinosswald commented on June 20, 2024

I see, so it seems like we have to wait until they get the API Gateway support covered. Only other think as an workaround I can think of would be phantom.js combined with an script which basically controls the web interface itself..BUT thats such a bad solution I wasn't even sure if i should suggest it :D

Regarding the api-gateway-swagger-import-tool I've gone through the source code, roughly, seems portable to js to me but I don't get if it would be enough to have it without the aws-sdk support for API Gateway ? They name AWS-CLI as an requirement, it's available for Win/OSX/Linux but would be bad ux I guess to have user get that covered on there own.. Maybe we can replace the AWS-CLI requirement in the process of porting api-gateway-swagger-import-tool or maybe I'm missing something.

from serverless.

ac360 avatar ac360 commented on June 20, 2024

👍 I'd love to rebuild that swagger import tool. Actually, there's probably better options, like a single API Gateway API route that you could upload it to. Anyway, I've filed swagger import tool complaint directly with the AWS team and I'm hoping a better solution is coming soon.

from serverless.

MatthewRayfield avatar MatthewRayfield commented on June 20, 2024

There isn't AWS-SDK support for API Gateway, but there seems to be an API for it: https://docs.aws.amazon.com/apigateway/api-reference/

from serverless.

ac360 avatar ac360 commented on June 20, 2024

API Gateway auto-deployment is in JAWS V1

from serverless.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.