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

Uploaded Source

Built Distribution

openapi2awsapigateway-0.0.4-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openapi2awsapigateway-0.0.4.tar.gz
  • Upload date:
  • Size: 6.1 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.4.tar.gz
Algorithm Hash digest
SHA256 bf49f9aad18041c5aaa982a46695a62dc940763acbcfcded022896078a3559f3
MD5 5280e1b77293e233856e0171130eb097
BLAKE2b-256 a4edd2f189b90a48d5f98b6622bf829afb12e5326c2b88ea5299a34746bfeaab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openapi2awsapigateway-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 9.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 12ba5604de1d148c8068dcf4c079881baacc2afea0e2162846d67370c41ad5e9
MD5 cdbac6352918d03dba2b80e46bc02564
BLAKE2b-256 cd4589af992534ed0176f6f35c72c498caf766e3e7ff04816d1ab2af88b68dfb

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