{"library":"mongoose-to-swagger","type":"library","category":null,"description":"Converts Mongoose schema objects to Swagger/OpenAPI schema definitions. Currently at v1.5.1, stable and used in production for many projects. Key differentiator is the simplicity of converting any Mongoose model into a Swagger-compatible JSON schema, extracting description, enum, required fields automatically. Supports custom meta property whitelisting and omission of internal Mongoose fields. Does not support OpenAPI 3.0+ yet (Swagger 2.0 only). Released under MIT.","language":"javascript","status":"active","version":"1.5.1","tags":["javascript","swagger","openapi","doc","docs","documentation","mongoose","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install mongoose-to-swagger","imports":["import m2s from 'mongoose-to-swagger'","import { default as m2s } from 'mongoose-to-swagger'","const m2s = require('mongoose-to-swagger')"]},{"cmd":"yarn add mongoose-to-swagger","imports":[]},{"cmd":"pnpm add mongoose-to-swagger","imports":[]}],"homepage":"https://github.com/blugavere/mongoose-to-swagger#readme","github":"https://github.com/blugavere/mongoose-to-swagger","docs":null,"changelog":null,"pypi":null,"npm":"mongoose-to-swagger","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}