I\'m trying to break my API document up into multiple JSON files that can be edited independently. All the examples I\'ve been able to find use the Swagger 1.2 schema which
If json does not work for you bis, you can also and you use node.js, you can also use module.exports
I have my definitions in modules, and I can require a module within a module:
const params = require(./parameters);
module.exports = {
description: 'Articles',
find: {
description: 'Some description of the method',
summary: 'Some summary',
parameters: [
params.id,
params.limit,
...