objection-swagger
Version:
Originally designed as Swagger definition generator for Objection.js models. Since then scope was extended to also cover Swagger-compatible snippets generation from plain JSON Schema entries as well as set of conversions that are useful for model and sche
16 lines (14 loc) • 366 B
JavaScript
class Options {
/**
*
* @param {String} [useSuffix]
* @param {boolean} [excludeInternalData]
* @param {boolean} useEntityRefs
*/
constructor(useSuffix, excludeInternalData, useEntityRefs) {
this.useSuffix = useSuffix;
this.excludeInternalData = excludeInternalData;
this.useEntityRefs = useEntityRefs;
}
}
module.exports = Options;