Giter VIP home page Giter VIP logo

Comments (2)

carlnordenfelt avatar carlnordenfelt commented on June 27, 2024

Hi, I think you are correct and this is something that is missing. I'll try
to add it as soon as possible but please feel free to create a pull request
if you have time :)

On Fri, Jul 15, 2016, 07:45 adrianwong81 [email protected] wrote:

Hi again this is more of a feature request rather than an issue but was
wondering if it would be possible for "Custom::ApiImport" to have a
parameter similar to the "AWS::ApiGateway::RestApi" property
"BodyS3Location" which would enable YAML Swagger definitions to be imported.

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html

At the moment I can't see how YAML can be imported using the
"Custom::ApiImport" property "apiDefinition". Have tried parsing the
multi-line YAML into single-line every which way but keep getting "Invalid
Swagger 2.0 input" errors. Please forgive my ignorance on how to do this,
I'm still relatively new to AWS Cloudformation.

Thanks and regards,
Adrian Wong


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#48,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEzRoWEcJrcsxSlo6jVW77Yf0sCy_pbDks5qVx5ggaJpZM4JNGK0
.

from aws-api-gateway-for-cloudformation.

carlnordenfelt avatar carlnordenfelt commented on June 27, 2024

Hi,

sorry about the delay.
Can you try updating your installation to this version: https://s3.amazonaws.com/apigatewaycloudformation.eu-west-1/test/1/ApiGatewayCloudFormation.template (note that this version is only available in eu-west-1).

Updated schema for ApiImport can be found here: https://github.com/carlnordenfelt/aws-api-gateway-for-cloudformation/blob/issue-48-import-api-from-s3/lib/service/json-schemas/api-import-schema.json

Let me know how it works. If you are happy with it I'll release it.

from aws-api-gateway-for-cloudformation.

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.