Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pepperize/cdk-apigateway-swagger-ui

Package Overview
Dependencies
Maintainers
0
Versions
1162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pepperize/cdk-apigateway-swagger-ui

Add SwaggerUI to your AWS Apigateway RestApi

  • 0.0.1161
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
440
increased by96.43%
Maintainers
0
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 24 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc