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.3.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: openapi2awsapigateway-0.0.3.tar.gz
  • Upload date:
  • Size: 5.8 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.3.tar.gz
Algorithm Hash digest
SHA256 1521de2ea1311001d96376e7df53d9119e2cddfc4e8b9bc93344fa7b43e35aa0
MD5 5216f716a0b6f4b78e725bb3f8db9826
BLAKE2b-256 50f9db4c99211b01b0eff621c1cc380ecbe7cea40df70bd20d3dff134c370bee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openapi2awsapigateway-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bb1903cfb328f757acd5f0a517fa55ced91122e7639906190aac0b5883f58854
MD5 bca63b11e65eaa1bf69151071b97d9b5
BLAKE2b-256 26f19c8edb471ba658194115927364187c985865dcc462825265561cadf4d874

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