{ "info": { "author": "Michal Sadowski", "author_email": "misad90@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "[![Build Status](https://travis-ci.com/fulder/openapi-to-aws-apigateway.svg?branch=master)](https://travis-ci.com/fulder/openapi-to-aws-apigateway)\n[![Coverage Status](https://coveralls.io/repos/github/fulder/openapi-to-aws-apigateway/badge.svg?branch=master)](https://coveralls.io/github/fulder/openapi-to-aws-apigateway?branch=master)\n[![Python Version](https://img.shields.io/badge/python-2.7%2C3.3%2B-blue.svg)](https://www.python.org/)\n\n`oai-sam` is a script generating a SAM template together with OpenAPI documentation including [AWS OpenAPI extensions](https://docs.aws.amazon.com/en_pv/apigateway/latest/developerguide/api-gateway-swagger-extensions.html) from an OpenAPI/swagger documentation.\n\nSimply provide your OpenApi/Swagger as an input and then use [SAM CLI](https://docs.aws.amazon.com/en_pv/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html) to deploy a working AWS ApiGateway. \n\n# Install\n\n`pip install oai-sam`\n\n# Usage\n\n## Generate\n`oai-sam -f -u -c `\n\ne.g:\n\n`oai-sam -f https://petstore.swagger.io/v2/swagger.json -u http://petstore.swagger.io/v2 -c \"*\"`\n\n## Deploy AWS ApiGateway\n\n* Install [SAM CLI](https://docs.aws.amazon.com/en_pv/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)\n* `sam package --template-file out/apigateway.yaml --s3-bucket --output-file packaged.yaml` (See [sam package](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-package.html) for more options)\n* `sam deploy --template-file packaged.yaml` (See [sam deploy](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-deploy.html) for more options)\n\n## Show list of available arguments\n`oai-sam --help`", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fulder/openapi-to-aws-apigateway", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "oai-sam", "package_url": "https://pypi.org/project/oai-sam/", "platform": "", "project_url": "https://pypi.org/project/oai-sam/", "project_urls": { "Homepage": "https://github.com/fulder/openapi-to-aws-apigateway" }, "release_url": "https://pypi.org/project/oai-sam/0.0.1/", "requires_dist": null, "requires_python": ">=2.6, >=3.3", "summary": "Generate SAM template and AWS OpenAPI extended docs", "version": "0.0.1" }, "last_serial": 6004891, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a38250906bb52c4e79d41ea944f4db7b", "sha256": "1b59eb04745bf20e92e7c02ad19a375a892cdaeeb77d0b9aef21a08dfc41a213" }, "downloads": -1, "filename": "oai-sam-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a38250906bb52c4e79d41ea944f4db7b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6, >=3.3", "size": 14467, "upload_time": "2019-10-20T22:39:34", "url": "https://files.pythonhosted.org/packages/b0/00/656a130c208c0942593ab8aa84f7a511639e7d8e26e5d8308542d696d229/oai-sam-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a38250906bb52c4e79d41ea944f4db7b", "sha256": "1b59eb04745bf20e92e7c02ad19a375a892cdaeeb77d0b9aef21a08dfc41a213" }, "downloads": -1, "filename": "oai-sam-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a38250906bb52c4e79d41ea944f4db7b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6, >=3.3", "size": 14467, "upload_time": "2019-10-20T22:39:34", "url": "https://files.pythonhosted.org/packages/b0/00/656a130c208c0942593ab8aa84f7a511639e7d8e26e5d8308542d696d229/oai-sam-0.0.1.tar.gz" } ] }