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

@elysiajs/swagger

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elysiajs/swagger - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

8

dist/cjs/index.d.ts
import { type Elysia } from 'elysia';
import type { ElysiaSwaggerConfig } from './types';
export declare const swagger: <Path extends string = "/swagger">({ documentation, version, excludeStaticFile, path, exclude }?: ElysiaSwaggerConfig<Path>) => (app: Elysia<any, any, any, any, any, any>) => Elysia<any, any, any, any, any, any>;
export declare const swagger: <Path extends string = "/swagger">({ documentation, version, excludeStaticFile, path, exclude }?: ElysiaSwaggerConfig<Path>) => (app: Elysia) => Elysia<"", {
request: {};
store: {};
}, {
type: {};
error: {};
}, {}, {}, false>;
export default swagger;
import { type Elysia } from 'elysia';
import type { ElysiaSwaggerConfig } from './types';
export declare const swagger: <Path extends string = "/swagger">({ documentation, version, excludeStaticFile, path, exclude }?: ElysiaSwaggerConfig<Path>) => (app: Elysia<any, any, any, any, any, any>) => Elysia<any, any, any, any, any, any>;
export declare const swagger: <Path extends string = "/swagger">({ documentation, version, excludeStaticFile, path, exclude }?: ElysiaSwaggerConfig<Path>) => (app: Elysia) => Elysia<"", {
request: {};
store: {};
}, {
type: {};
error: {};
}, {}, {}, false>;
export default swagger;

7

package.json
{
"name": "@elysiajs/swagger",
"version": "0.7.0",
"version": "0.7.1",
"description": "Plugin for Elysia to auto-generate Swagger page",

@@ -50,4 +50,5 @@ "author": {

"@types/lodash.clonedeep": "^4.5.7",
"lodash.clonedeep": "^4.5.0"
"lodash.clonedeep": "^4.5.0",
"openapi-types": "^12.1.3"
}
}
}

@@ -29,3 +29,3 @@ import { type Elysia, type InternalRoute } from 'elysia'

) =>
(app: Elysia<any, any, any, any, any, any>) => {
(app: Elysia) => {
const schema = {}

@@ -32,0 +32,0 @@ let totalRoutes = 0

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