Skip to main content

PRs Welcome GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) GitHub Workflow Status (branch) GitHub release (latest SemVer) Gitpod ready-to-code

CDK Apigateway SwaggerUI

Add SwaggerUI to your AWS Apigateway RestApi

SwaggerUI Example

Install

TypeScript

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

or

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

Python

pip install pepperize.cdk-apigateway-swagger-ui

C# / .Net

dotnet add package Pepperize.CDK.ApigatewaySwaggerUi

Java

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

Usage

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

Metadata

Release files for pepperize.cdk-apigateway-swagger-ui 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pepperize.cdk-apigateway-swagger-ui 0.1.0
File Size Uploaded Provenance Actions
pepperize_cdk_apigateway_swagger_ui-0.1.0.tar.gz 6.5 MB Without provenance Details for pepperize_cdk_apigateway_swagger_ui-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pepperize.cdk-apigateway-swagger-ui 0.1.0
File Interpreter ABI Platform Actions
pepperize_cdk_apigateway_swagger_ui-0.1.0-py3-none-any.whl Python 3 none any Details for pepperize_cdk_apigateway_swagger_ui-0.1.0-py3-none-any.whl

Total release size: 13.0 MB

Release files / pepperize_cdk_apigateway_swagger_ui-0.1.0.tar.gz

Download URL pepperize_cdk_apigateway_swagger_ui-0.1.0.tar.gz
Size 6.5 MB
Tags Source
SHA-256 checksum
How to use checksums
2eefd1a67c8993e808673af2cfab582f6846d8c1ede8dbef4c0d3cea66196348
BLAKE2b-256 checksum
How to use checksums
7b673cac3c3982128cb6d8a17871cba8398e7177efaab6e8ded43ffe4defc360
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.15.2

Release files / pepperize_cdk_apigateway_swagger_ui-0.1.0-py3-none-any.whl

Download URL pepperize_cdk_apigateway_swagger_ui-0.1.0-py3-none-any.whl
Size 6.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
85e083ce659425acf68553ebb5e327825b98a026732b943200c7a64031570675
BLAKE2b-256 checksum
How to use checksums
ed16dc505b1b7edb7c95c38abc78daa257dbf1de8c330bbeb94e67ff16f0d48e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.15.2

Security for pepperize.cdk-apigateway-swagger-ui 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page