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

@digitalroute/bagger

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digitalroute/bagger - npm Package Compare versions

Comparing version 2.4.6 to 2.4.7

2

package.json
{
"name": "@digitalroute/bagger",
"version": "2.4.6",
"version": "2.4.7",
"description": "🎒 A joi-compatible tool for building swagger definitions",

@@ -5,0 +5,0 @@ "main": "dist/bagger.umd.js",

@@ -15,2 +15,3 @@ # 🎒 Bagger

- 🔎 **Intellisense:** Really nice intellisense suggestions, and TypeScript definitions.
- 🔒 **Type safety:** Bagger always produces 100% valid Swagger documents. If you use TypeScript the compiler will enforce correctness in most cases, and otherwise Bagger will validate during compilation.

@@ -56,22 +57,10 @@ ## Example

- [Working with multiple files](/docs/01-introduction.md#working-with-multiple-files)
- [Adding requests](/docs/02-requests.md) 🚧 Under construction 🚧
- [Creating resources](/docs/03-resources.md) 🚧 Under construction 🚧
- Response
- Content
- Request body
- [Validating with joi](/docs/04-validation.md) 🚧 Under construction 🚧
- Adding parameters
- TODO: Adding body validation?
- Getting validation schemas
- [Components](/docs/05-components.md) 🚧 Under construction 🚧
- Declaring components
- Referancing components
- [API Reference](/docs/06-api_reference.md) 🚧 Under construction 🚧
- `bagger.configure()`
- `bagger.compile()`
- `bagger.addRequest(path, method)`
- `bagger.addComponent()`
- `bagger.response(httpCode)`
- `bagger.requestBody()`
- `bagger.parameter()`
- `bagger.getRequestSchema()`
- [API Reference](/docs/02-api_reference.md)
- [`bagger.configure()`](/docs/02-api_reference.md#baggerconfigure)
- [`bagger.compile()`](/docs/02-api_reference.md#baggercompile)
- [`bagger.addRequest(path, method)`](/docs/02-api_reference.md#baggeraddrequestpath-method)
- [`bagger.addComponent()`](/docs/02-api_reference.md#baggeraddcomponent)
- [`bagger.response(httpCode)`](/docs/02-api_reference.md#baggerresponsehttpcode)
- [`bagger.requestBody()`](/docs/02-api_reference.md#baggerrequestbody)
- [`bagger.parameter().<type>(name)`](/docs/02-api_reference.md#baggerparametertypename)
- [`bagger.getRequestSchema()`](/docs/02-api_reference.md#baggergetrequestschema)
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