@pepperize/cdk-apigateway-swagger-ui
Advanced tools
Comparing version 0.0.1153 to 0.0.1154
68
API.md
@@ -1,69 +0,1 @@ | ||
[![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 | ||
```typescript | ||
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` | ||
# API Reference <a name="API Reference" id="api-reference"></a> | ||
@@ -70,0 +2,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ApiDocsFunction = void 0; | ||
// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". | ||
// ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". | ||
const path = require("path"); | ||
@@ -15,3 +15,3 @@ const lambda = require("aws-cdk-lib/aws-lambda"); | ||
...props, | ||
runtime: new lambda.Runtime('nodejs14.x', lambda.RuntimeFamily.NODEJS), | ||
runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), | ||
handler: 'index.handler', | ||
@@ -24,2 +24,2 @@ code: lambda.Code.fromAsset(path.join(__dirname, '../assets/functions/src/api-docs.lambda')), | ||
exports.ApiDocsFunction = ApiDocsFunction; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLWRvY3MtZnVuY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYXBpLWRvY3MtZnVuY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNkVBQTZFO0FBQzdFLDZCQUE2QjtBQUM3QixpREFBaUQ7QUFTakQ7O0dBRUc7QUFDSCxNQUFhLGVBQWdCLFNBQVEsTUFBTSxDQUFDLFFBQVE7SUFDbEQsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUE0QjtRQUNwRSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsRUFBRTtZQUNmLFdBQVcsRUFBRSxrQ0FBa0M7WUFDL0MsR0FBRyxLQUFLO1lBQ1IsT0FBTyxFQUFFLElBQUksTUFBTSxDQUFDLE9BQU8sQ0FBQyxZQUFZLEVBQUUsTUFBTSxDQUFDLGFBQWEsQ0FBQyxNQUFNLENBQUM7WUFDdEUsT0FBTyxFQUFFLGVBQWU7WUFDeEIsSUFBSSxFQUFFLE1BQU0sQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsU0FBUyxFQUFFLHlDQUF5QyxDQUFDLENBQUM7U0FDN0YsQ0FBQyxDQUFDO1FBQ0gsSUFBSSxDQUFDLGNBQWMsQ0FBQyxxQ0FBcUMsRUFBRSxHQUFHLEVBQUUsRUFBRSxZQUFZLEVBQUUsSUFBSSxFQUFFLENBQUMsQ0FBQztJQUMxRixDQUFDO0NBQ0Y7QUFYRCwwQ0FXQyIsInNvdXJjZXNDb250ZW50IjpbIi8vIH5+IEdlbmVyYXRlZCBieSBwcm9qZW4uIFRvIG1vZGlmeSwgZWRpdCAucH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YXRoLmpvaW4oX19kaXJuYW1lLCAnLi4vYXNzZXRzL2Z1bmN0aW9ucy9zcmMvYXBpLWRvY3MubGFtYmRhJykpLFxuICAgIH0pO1xuICAgIHRoaXMuYWRkRW52aXJvbm1lbnQoJ0FXU19OT0RFSlNfQ09OTkVDVElPTl9SRVVTRV9FTkFCTEVEJywgJzEnLCB7IHJlbW92ZUluRWRnZTogdHJ1ZSB9KTtcbiAgfVxufSJdfQ== |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -10,6 +14,6 @@ if (k2 === undefined) k2 = k; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./swagger-ui"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsK0NBQTZCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vc3dhZ2dlci11aVwiO1xuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLCtDQUE2QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL3N3YWdnZXItdWlcIjtcbiJdfQ== |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SwaggerUiFunction = void 0; | ||
// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". | ||
// ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". | ||
const path = require("path"); | ||
@@ -15,3 +15,3 @@ const lambda = require("aws-cdk-lib/aws-lambda"); | ||
...props, | ||
runtime: new lambda.Runtime('nodejs14.x', lambda.RuntimeFamily.NODEJS), | ||
runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), | ||
handler: 'index.handler', | ||
@@ -24,2 +24,2 @@ code: lambda.Code.fromAsset(path.join(__dirname, '../assets/functions/src/swagger-ui.lambda')), | ||
exports.SwaggerUiFunction = SwaggerUiFunction; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dhZ2dlci11aS1mdW5jdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9zd2FnZ2VyLXVpLWZ1bmN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDZFQUE2RTtBQUM3RSw2QkFBNkI7QUFDN0IsaURBQWlEO0FBU2pEOztHQUVHO0FBQ0gsTUFBYSxpQkFBa0IsU0FBUSxNQUFNLENBQUMsUUFBUTtJQUNwRCxZQUFZLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQThCO1FBQ3RFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxFQUFFO1lBQ2Y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9uIHdoaWNoIGV4ZWN1dGVzIGZ1bmN0aW9ucy9zcmMvc3dhZ2dlci11aS5cbiAqL1xuZXhwb3J0IGNsYXNzIFN3YWdnZXJVaUZ1bmN0aW9uIGV4dGVuZHMgbGFtYmRhLkZ1bmN0aW9uIHtcbiAgY29uc3RydWN0b3Ioc2NvcGU6IENvbnN0cnVjdCwgaWQ6IHN0cmluZywgcHJvcHM/OiBTd2FnZ2VyVWlGdW5jdGlvblByb3BzKSB7XG4gICAgc3VwZXIoc2NvcGUsIGlkLCB7XG4gICAgICBkZXNjcmlwdGlvbjogJ2Z1bmN0aW9ucy9zcmMvc3dhZ2dlci11aS5sYW1iZGEudHMnLFxuICAgICAgLi4ucHJvcHMsXG4gICAgICBydW50aW1lOiBuZXcgbGFtYmRhLlJ1bnRpbWUoJ25vZGVqczE4LngnLCBsYW1iZGEuUnVudGltZUZhbWlseS5OT0RFSlMpLFxuICAgICAgaGFuZGxlcjogJ2luZGV4LmhhbmRsZXInLFxuICAgICAgY29kZTogbGFtYmRhLkNvZGUuZnJvbUFzc2V0KHBhdGguam9pbihfX2Rpcm5hbWUsICcuLi9hc3NldHMvZnVuY3Rpb25zL3NyYy9zd2FnZ2VyLXVpLmxhbWJkYScpKSxcbiAgICB9KTtcbiAgICB0aGlzLmFkZEVudmlyb25tZW50KCdBV1NfTk9ERUpTX0NPTk5FQ1RJT05fUkVVU0VfRU5BQkxFRCcsICcxJywgeyByZW1vdmVJbkVkZ2U6IHRydWUgfSk7XG4gIH1cbn0iXX0= |
@@ -46,3 +46,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
SwaggerUi[_a] = { fqn: "@pepperize/cdk-apigateway-swagger-ui.SwaggerUi", version: "0.0.1153" }; | ||
SwaggerUi[_a] = { fqn: "@pepperize/cdk-apigateway-swagger-ui.SwaggerUi", version: "0.0.1154" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dhZ2dlci11a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vYXJuLWZvcm1hdC1yZWZlcmVuY2UuaHRtbFxuICAgICAgICAgICAgICBzZXJ2aWNlOiBcImFwaWdhdGV3YXlcIixcbiAgICAgICAgICAgICAgYWNjb3VudDogXCJcIixcbiAgICAgICAgICAgICAgcmVzb3VyY2U6IGAvcmVzdGFwaXMvJHthcGkucmVzdEFwaUlkfS8qYCxcbiAgICAgICAgICAgICAgYXJuRm9ybWF0OiBBcm5Gb3JtYXQuQ09MT05fUkVTT1VSQ0VfTkFNRSxcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgIF0sXG4gICAgICAgIH0pLFxuICAgICAgXSxcbiAgICAgIGxvZ1JldGVudGlvbjogbG9ncy5SZXRlbnRpb25EYXlzLk9ORV9XRUVLLFxuICAgIH0pO1xuICAgIGFwaURvY3MuYWRkTWV0aG9kKFwiR0VUXCIsIG5ldyBhcGlnYXRld2F5LkxhbWJkYUludGVncmF0aW9uKGFwaURvY3NGdW5jdGlvbiwge30pLCB7fSk7XG5cbiAgICBjb25zdCBzd2FnZ2VyVWkgPSByZXNvdXJjZS5hZGRSZXNvdXJjZShcImFwaS1kb2NzXCIpLmFkZFJlc291cmNlKFwie3Byb3h5K31cIik7XG4gICAgY29uc3Qgc3dhZ2dlclVpRnVuY3Rpb24gPSBuZXcgU3dhZ2dlclVpRnVuY3Rpb24odGhpcywgXCJTd2FnZ2VyVWlGdW5jdGlvblwiLCB7XG4gICAgICBsb2dSZXRlbnRpb246IGxvZ3MuUmV0ZW50aW9uRGF5cy5PTkVfV0VFSyxcbiAgICB9KTtcblxuICAgIHN3YWdnZXJVaS5hZGRNZXRob2QoXCJHRVRcIiwgbmV3IGFwaWdhdGV3YXkuTGFtYmRhSW50ZWdyYXRpb24oc3dhZ2dlclVpRnVuY3Rpb24sIHsgcHJveHk6IHRydWUgfSksIHt9KTtcbiAgfVxufVxuIl19 |
@@ -46,13 +46,13 @@ { | ||
"devDependencies": { | ||
"@pepperize/projen-awscdk-construct": "^0.0.451", | ||
"@pepperize/projen-awscdk-construct": "~0.0.730", | ||
"@types/jest": "^27", | ||
"@types/node": "^14", | ||
"@typescript-eslint/eslint-plugin": "^5", | ||
"@typescript-eslint/parser": "^5", | ||
"@typescript-eslint/eslint-plugin": "^8", | ||
"@typescript-eslint/parser": "^8", | ||
"aws-cdk-lib": "2.1.0", | ||
"commit-and-tag-version": "^12", | ||
"constructs": "10.0.5", | ||
"esbuild": "^0.17.11", | ||
"eslint": "^8", | ||
"eslint": "^9", | ||
"eslint-config-prettier": "^8.7.0", | ||
"eslint-import-resolver-node": "^0.3.7", | ||
"eslint-import-resolver-typescript": "^3.5.3", | ||
@@ -62,10 +62,10 @@ "eslint-plugin-import": "^2.27.5", | ||
"jest": "^27", | ||
"jest-junit": "^13", | ||
"jsii": "^1.76.0", | ||
"jest-junit": "^15", | ||
"jsii": "~5.6.0", | ||
"jsii-diff": "^1.76.0", | ||
"jsii-docgen": "^7.1.17", | ||
"jsii-docgen": "^10.5.0", | ||
"jsii-pacmak": "^1.76.0", | ||
"jsii-rosetta": "~5.6.0", | ||
"prettier": "^2.8.4", | ||
"projen": "^0.67.74", | ||
"standard-version": "^9", | ||
"projen": "~0.91.1", | ||
"ts-jest": "^27", | ||
@@ -96,7 +96,10 @@ "ts-node": "^10", | ||
}, | ||
"version": "0.0.1153", | ||
"version": "0.0.1154", | ||
"jest": { | ||
"coverageProvider": "v8", | ||
"testMatch": [ | ||
"<rootDir>/src/**/__tests__/**/*.ts?(x)", | ||
"<rootDir>/(test|src)/**/*(*.)@(spec|test).ts?(x)" | ||
"<rootDir>/@(src|test)/**/*(*.)@(spec|test).ts?(x)", | ||
"<rootDir>/@(src|test)/**/__tests__/**/*.ts?(x)", | ||
"<rootDir>/@(projenrc)/**/*(*.)@(spec|test).ts?(x)", | ||
"<rootDir>/@(projenrc)/**/__tests__/**/*.ts?(x)" | ||
], | ||
@@ -164,7 +167,3 @@ "clearMocks": true, | ||
}, | ||
"resolutions": { | ||
"@types/prettier": "2.6.0", | ||
"@types/babel__traverse": "7.18.2" | ||
}, | ||
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." | ||
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"." | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36331265
81963
34
3