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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: openapi2awsapigateway-0.0.1.tar.gz
  • Upload date:
  • Size: 6.0 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.1.tar.gz
Algorithm Hash digest
SHA256 c3aab79b1ded45d8b0aa2520fa5acf268b7518d7345b91e877fd1aaadbfb6a12
MD5 8b5a2593835e86dd36ba8bd0ec8fbe1c
BLAKE2b-256 2035ea19ab89c75552dcf22aefea344f6ad4335492df5f6d2a53b21dba5854f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openapi2awsapigateway-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 018d7c82fcc629bf74cd345bbc93c1538584a7db6a67e5d8579fed20287262e9
MD5 ab505038d9dff8988e3be1a1c9b3daae
BLAKE2b-256 7ecd45b93c0ef4fd722ba543ed42d9ecb958881a6874962f6bd3fb04c87dbcf4

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