Giter Site home page Giter Site logo

Comments (6)

rambabusaravanan avatar rambabusaravanan commented on May 28, 2024 18

The components/x-amazon-apigateway-integrations is helpful in declaring x-amazon-apigateway-integration object in one single place under components, instead of declaring the same under all the apis. In general, using components via ref reduces the duplication very much.

But when the x-amazon-apigateway-integration can be used in both REST and HTTP, just wondering why the components/x-amazon-apigateway-integrations is allowed only for HTTP and not allowed for REST?

This indirectly implies,

  • if using HTTP, just declare it one place "components" and easily maintain.
  • If using REST, you have to tolerate duplication and copy paste every time a change is needed

Why don't the components/x-amazon-apigateway-integrations be allowed to use in both REST and HTTP?

from amazon-api-gateway-developer-guide.

mcdwil avatar mcdwil commented on May 28, 2024 1

Hi,

Thanks for clarifying. x-amazon-apigateway-integrations is supported only for HTTP APIs. Sorry for the confusion - it's currently noted in the docs, but I'll try to further clarify that the extension isn't supported for REST APIs.

Thanks,
Will

from amazon-api-gateway-developer-guide.

marceliwac avatar marceliwac commented on May 28, 2024 1

from amazon-api-gateway-developer-guide.

mcdwil avatar mcdwil commented on May 28, 2024

@marceliwac - thanks for getting in touch. I'm sorry to hear that you were having trouble with x-amazon-apigateway-integrations. Were you trying to import a REST API or an HTTP API?

from amazon-api-gateway-developer-guide.

marceliwac avatar marceliwac commented on May 28, 2024

from amazon-api-gateway-developer-guide.

mcdwil avatar mcdwil commented on May 28, 2024

Thanks for reaching out. This repo is for the documentation - I'll pass your feature request along to the service team.

Thanks,
Will

from amazon-api-gateway-developer-guide.

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.