Skip to main content

Adapt OpenAPI and Swagger files to include AWS API Gateway Integrations

Project description

Adapt OpenAPI and Swagger files to include AWS API Gateway Integrations

Installation

$ pip install -r requirements.txt

$ python setup.py install

Development

This project includes a number of helpers in the Makefile to streamline common development tasks.

Environment Setup

The following demonstrates setting up and working with a development environment:

### create a virtualenv for development

$ make virtualenv

$ source env/bin/activate


### run openapi2awsapigateway cli application

$ openapi2awsapigateway --help


### run pytest / coverage

$ make test

Releasing to PyPi

Before releasing to PyPi, you must configure your login credentials:

~/.pypirc:

[pypi]
username = YOUR_USERNAME
password = YOUR_PASSWORD

Then use the included helper function via the Makefile:

$ make dist

$ make dist-upload

Deployments

Docker

Included is a basic Dockerfile for building and distributing OpenAPI to AWS API Gateway, and can be built with the included make helper:

$ make docker

$ docker run -it openapi2awsapigateway --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openapi2awsapigateway-0.0.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

openapi2awsapigateway-0.0.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file openapi2awsapigateway-0.0.2.tar.gz.

File metadata

  • Download URL: openapi2awsapigateway-0.0.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.9

File hashes

Hashes for openapi2awsapigateway-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f763d9eb884b82ea33445160097435b94ba11c2c8282c96be4443255487844fb
MD5 c90690d41172db73b66f62a30bff57ef
BLAKE2b-256 98f27e9230d6d8e6ba35baf81db8c51a142510b599b4bab72d92b8ea5534af63

See more details on using hashes here.

File details

Details for the file openapi2awsapigateway-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: openapi2awsapigateway-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.9

File hashes

Hashes for openapi2awsapigateway-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2d5bf4f7d80819eedf0c997e2be63ac1910608d86f929e1075d38d7ea4591f67
MD5 ff3f0d6e52440d951598d24e499f6ace
BLAKE2b-256 6ffa697409608ea16c136dde0555379f9c483e34112784a954efe977a015e597

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page