pepperize.cdk-apigateway-swagger-ui


Namepepperize.cdk-apigateway-swagger-ui JSON
Version 0.0.1206 PyPI version JSON
download
home_pagehttps://github.com/pepperize/cdk-apigateway-swagger-ui.git
SummaryAdd SwaggerUI to your AWS Apigateway RestApi
upload_time2025-02-21 07:10:22
maintainerNone
docs_urlNone
authorPatrick Florek<patrick.florek@gmail.com>
requires_python~=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
[![GitHub](https://img.shields.io/github/license/pepperize/cdk-apigateway-swagger-ui?style=flat-square)](https://github.com/pepperize/cdk-apigateway-swagger-ui/blob/main/LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-apigateway-swagger-ui?style=flat-square)](https://www.npmjs.com/package/@pepperize/cdk-apigateway-swagger-ui)
[![PyPI](https://img.shields.io/pypi/v/pepperize.cdk-apigateway-swagger-ui?style=flat-square)](https://pypi.org/project/pepperize.cdk-apigateway-swagger-ui/)
[![Nuget](https://img.shields.io/nuget/v/Pepperize.CDK.ApigatewaySwaggerUi?style=flat-square)](https://www.nuget.org/packages/Pepperize.CDK.ApigatewaySwaggerUi/)
[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/com.pepperize/cdk-apigateway-swagger-ui?server=https%3A%2F%2Fs01.oss.sonatype.org%2F&style=flat-square)](https://s01.oss.sonatype.org/content/repositories/releases/com/pepperize/cdk-apigateway-swagger-ui/)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/pepperize/cdk-apigateway-swagger-ui/release.yml?branch=main&label=release&style=flat-square)](https://github.com/pepperize/cdk-apigateway-swagger-ui/actions/workflows/release.yml)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/pepperize/cdk-apigateway-swagger-ui?sort=semver&style=flat-square)](https://github.com/pepperize/cdk-apigateway-swagger-ui/releases)
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/pepperize/cdk-apigateway-swagger-ui)

# CDK Apigateway SwaggerUI

Add SwaggerUI to your AWS Apigateway RestApi

![SwaggerUI Example](./images/swagger-ui-example.png)

## Install

### TypeScript

```shell
npm install @pepperize/cdk-apigateway-swagger-ui
```

or

```shell
yarn add @pepperize/cdk-apigateway-swagger-ui
```

### Python

```shell
pip install pepperize.cdk-apigateway-swagger-ui
```

### C# / .Net

```
dotnet add package Pepperize.CDK.ApigatewaySwaggerUi
```

### Java

```xml
<dependency>
  <groupId>com.pepperize</groupId>
  <artifactId>cdk-apigateway-swagger-ui</artifactId>
  <version>${cdkApigatewaySwaggerUi.version}</version>
</dependency>
```

## Usage

```python
import { Stack } from "aws-cdk-lib";
import * as apigateway from "aws-cdk-lib/aws-apigateway";
import { SwaggerUi } from "@pepperize/cdk-apigateway-swagger-ui";

const stack = new Stack();
const restApi = new apigateway.RestApi();

new SwaggerUi(stack, "SwaggerUI", { resource: restApi.root });
```

* Open your SwaggerUI: `https://<rest api id>.execute-api.<aws region>.amazonaws.com/<stage>/api-docs/swagger-ui.html`
* View your API docs: `https://<rest api id>.execute-api.<aws region>.amazonaws.com/<stage>/api-docs.json`

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pepperize/cdk-apigateway-swagger-ui.git",
    "name": "pepperize.cdk-apigateway-swagger-ui",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "~=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Patrick Florek<patrick.florek@gmail.com>",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/97/41/0cf301785d2334ea75d9ae6a3bb9feb1ebb05c2e867965fd5edac90235f3/pepperize_cdk_apigateway_swagger_ui-0.0.1206.tar.gz",
    "platform": null,
    "description": "[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)\n[![GitHub](https://img.shields.io/github/license/pepperize/cdk-apigateway-swagger-ui?style=flat-square)](https://github.com/pepperize/cdk-apigateway-swagger-ui/blob/main/LICENSE)\n[![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-apigateway-swagger-ui?style=flat-square)](https://www.npmjs.com/package/@pepperize/cdk-apigateway-swagger-ui)\n[![PyPI](https://img.shields.io/pypi/v/pepperize.cdk-apigateway-swagger-ui?style=flat-square)](https://pypi.org/project/pepperize.cdk-apigateway-swagger-ui/)\n[![Nuget](https://img.shields.io/nuget/v/Pepperize.CDK.ApigatewaySwaggerUi?style=flat-square)](https://www.nuget.org/packages/Pepperize.CDK.ApigatewaySwaggerUi/)\n[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/com.pepperize/cdk-apigateway-swagger-ui?server=https%3A%2F%2Fs01.oss.sonatype.org%2F&style=flat-square)](https://s01.oss.sonatype.org/content/repositories/releases/com/pepperize/cdk-apigateway-swagger-ui/)\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/pepperize/cdk-apigateway-swagger-ui/release.yml?branch=main&label=release&style=flat-square)](https://github.com/pepperize/cdk-apigateway-swagger-ui/actions/workflows/release.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/pepperize/cdk-apigateway-swagger-ui?sort=semver&style=flat-square)](https://github.com/pepperize/cdk-apigateway-swagger-ui/releases)\n[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/pepperize/cdk-apigateway-swagger-ui)\n\n# CDK Apigateway SwaggerUI\n\nAdd SwaggerUI to your AWS Apigateway RestApi\n\n![SwaggerUI Example](./images/swagger-ui-example.png)\n\n## Install\n\n### TypeScript\n\n```shell\nnpm install @pepperize/cdk-apigateway-swagger-ui\n```\n\nor\n\n```shell\nyarn add @pepperize/cdk-apigateway-swagger-ui\n```\n\n### Python\n\n```shell\npip install pepperize.cdk-apigateway-swagger-ui\n```\n\n### C# / .Net\n\n```\ndotnet add package Pepperize.CDK.ApigatewaySwaggerUi\n```\n\n### Java\n\n```xml\n<dependency>\n  <groupId>com.pepperize</groupId>\n  <artifactId>cdk-apigateway-swagger-ui</artifactId>\n  <version>${cdkApigatewaySwaggerUi.version}</version>\n</dependency>\n```\n\n## Usage\n\n```python\nimport { Stack } from \"aws-cdk-lib\";\nimport * as apigateway from \"aws-cdk-lib/aws-apigateway\";\nimport { SwaggerUi } from \"@pepperize/cdk-apigateway-swagger-ui\";\n\nconst stack = new Stack();\nconst restApi = new apigateway.RestApi();\n\nnew SwaggerUi(stack, \"SwaggerUI\", { resource: restApi.root });\n```\n\n* Open your SwaggerUI: `https://<rest api id>.execute-api.<aws region>.amazonaws.com/<stage>/api-docs/swagger-ui.html`\n* View your API docs: `https://<rest api id>.execute-api.<aws region>.amazonaws.com/<stage>/api-docs.json`\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Add SwaggerUI to your AWS Apigateway RestApi",
    "version": "0.0.1206",
    "project_urls": {
        "Homepage": "https://github.com/pepperize/cdk-apigateway-swagger-ui.git",
        "Source": "https://github.com/pepperize/cdk-apigateway-swagger-ui.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "db90b1a8bf176350bd23056f00f53c60e2188388bd07e642e5e2d7509a3faac1",
                "md5": "0958b2c8dc6ec7ddd38d8cfcafc57f2d",
                "sha256": "0aa1630e5d2b50a945af9f715f7c0abe152527694b0e58d87b9193b6f46c1409"
            },
            "downloads": -1,
            "filename": "pepperize.cdk_apigateway_swagger_ui-0.0.1206-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0958b2c8dc6ec7ddd38d8cfcafc57f2d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.8",
            "size": 5378234,
            "upload_time": "2025-02-21T07:10:18",
            "upload_time_iso_8601": "2025-02-21T07:10:18.751120Z",
            "url": "https://files.pythonhosted.org/packages/db/90/b1a8bf176350bd23056f00f53c60e2188388bd07e642e5e2d7509a3faac1/pepperize.cdk_apigateway_swagger_ui-0.0.1206-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "97410cf301785d2334ea75d9ae6a3bb9feb1ebb05c2e867965fd5edac90235f3",
                "md5": "f10a4a3efe7740bc5ea555594f408ff6",
                "sha256": "4bf943a8048b3981fd8249d8401df86727b0fefcc5a4e45ac824dd8fc5f51c26"
            },
            "downloads": -1,
            "filename": "pepperize_cdk_apigateway_swagger_ui-0.0.1206.tar.gz",
            "has_sig": false,
            "md5_digest": "f10a4a3efe7740bc5ea555594f408ff6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.8",
            "size": 5377473,
            "upload_time": "2025-02-21T07:10:22",
            "upload_time_iso_8601": "2025-02-21T07:10:22.402272Z",
            "url": "https://files.pythonhosted.org/packages/97/41/0cf301785d2334ea75d9ae6a3bb9feb1ebb05c2e867965fd5edac90235f3/pepperize_cdk_apigateway_swagger_ui-0.0.1206.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-21 07:10:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pepperize",
    "github_project": "cdk-apigateway-swagger-ui",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pepperize.cdk-apigateway-swagger-ui"
}
        
Elapsed time: 0.39913s