Comments (2)
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.
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)
- no build script so can't build a fork to try it out HOT 3
- Errors during create of stack: NoSuchBucket HOT 4
- Add Type to documentation HOT 1
- Allow CORS method wildcard
- runtime error when using IAM certificate HOT 5
- So, how do I actually use this to deploy my api? HOT 4
- Error on creating Custom::ApiMethod: "Response object is too long." HOT 9
- Using Swagger/OpenAPI definitions HOT 2
- CORS on root resource HOT 3
- Complex api deployment fails due to api gateway throttling HOT 3
- Not possible to create multiple integration responses for one status code
- no git tags/github releases, no love HOT 1
- Allow built-in input-passthrough on methods HOT 1
- May I ask why use "Custom::RestApi"? HOT 2
- v2.0.0 - New supported region Sydney should be "ap-southeast-2" instead of "ap-northeast-2" which is Seoul HOT 2
- Certificate Chain error when creating custom domain name HOT 4
- Export ServiceToken for cross-stack references HOT 6
- ApiDeploy fails with NetworkingError: write EPROTO HOT 1
- Can you clarify the problems with updating from nodejs to nodejs4.3? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-api-gateway-for-cloudformation.