├── .gitignore ├── README.md ├── definitions ├── User.yaml └── index.yaml ├── index.yaml ├── info └── index.yaml ├── package.json ├── paths ├── bar.yaml ├── foo.yaml ├── index.yaml └── nested.yaml ├── resolve.js ├── test ├── diffCheck.js ├── expected.json └── expected.yaml └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | test/resolved.* 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/README.md -------------------------------------------------------------------------------- /definitions/User.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/definitions/User.yaml -------------------------------------------------------------------------------- /definitions/index.yaml: -------------------------------------------------------------------------------- 1 | User: 2 | $ref: ./User.yaml 3 | -------------------------------------------------------------------------------- /index.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/index.yaml -------------------------------------------------------------------------------- /info/index.yaml: -------------------------------------------------------------------------------- 1 | version: 0.0.0 2 | title: Simple API 3 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/package.json -------------------------------------------------------------------------------- /paths/bar.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/paths/bar.yaml -------------------------------------------------------------------------------- /paths/foo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/paths/foo.yaml -------------------------------------------------------------------------------- /paths/index.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/paths/index.yaml -------------------------------------------------------------------------------- /paths/nested.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/paths/nested.yaml -------------------------------------------------------------------------------- /resolve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/resolve.js -------------------------------------------------------------------------------- /test/diffCheck.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/test/diffCheck.js -------------------------------------------------------------------------------- /test/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/test/expected.json -------------------------------------------------------------------------------- /test/expected.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/test/expected.yaml -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohsen1/multi-file-swagger-example/HEAD/yarn.lock --------------------------------------------------------------------------------