Metadata-Version: 2.1
Name: aws-flask-lambda-swagger-ui
Version: 0.1.4
Summary: Adding swagger ui on your AWS Lambda Function using a Flask blueprint
Author: Seven Clouds Technologies
Author-email: admin@seventechnologies.cloud
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# aws_flask_lambda_swagger_ui

Version 0.1.3 includes the templates folder and uses Flask v3.0.3 and werkzeug v3.0.3

## Installation

Install the package using pip:

```sh
pip install aws-flask-lambda-swagger-ui
```

## Usage

```python
from flask import Flask
from aws_flask_lambda_swagger_ui import get_swaggerui_blueprint

app = Flask(__name__)

SWAGGER_URL = '/aws/test/docs' 
API_URL = 'https://petstore.swagger.io/v2/swagger.json' 

swaggerui_blueprint = get_swaggerui_blueprint(
    SWAGGER_URL,  
    API_URL,
    config={  
        'app_name': "AWS Lambda application"
    }
)

app.register_blueprint(swaggerui_blueprint, url_prefix=SWAGGER_URL)

if __name__ == '__main__':
    app.run(debug=True)

```

When the Flask app is running, just access the swagger url:
```
http://localhost:5000/aws/test/docs/
```
