├── .github └── main.workflow ├── .gitignore ├── .npmrc ├── LICENSE ├── Readme.md ├── examples ├── advanced.js ├── headers-injection.js └── simple.js ├── helpers ├── callbackend.js ├── get-body-headers.js └── schema-loader.js ├── index.js ├── package.json └── test ├── aggregation-layer.spec.js ├── construct.spec.js ├── mocks ├── data │ ├── mocks.js │ ├── swagger-client-api.json │ ├── swagger-petstore-api.json │ └── swagger-reservations-api.json └── gql-gateway-requests.js └── unit └── helpers ├── callbackend.spec.js ├── get-body-headers.spec.js └── schema-loader.spec.js /.github/main.workflow: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/.github/main.workflow -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/LICENSE -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/Readme.md -------------------------------------------------------------------------------- /examples/advanced.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/examples/advanced.js -------------------------------------------------------------------------------- /examples/headers-injection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/examples/headers-injection.js -------------------------------------------------------------------------------- /examples/simple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/examples/simple.js -------------------------------------------------------------------------------- /helpers/callbackend.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/helpers/callbackend.js -------------------------------------------------------------------------------- /helpers/get-body-headers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/helpers/get-body-headers.js -------------------------------------------------------------------------------- /helpers/schema-loader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/helpers/schema-loader.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/package.json -------------------------------------------------------------------------------- /test/aggregation-layer.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/test/aggregation-layer.spec.js -------------------------------------------------------------------------------- /test/construct.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/test/construct.spec.js -------------------------------------------------------------------------------- /test/mocks/data/mocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/test/mocks/data/mocks.js -------------------------------------------------------------------------------- /test/mocks/data/swagger-client-api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/test/mocks/data/swagger-client-api.json -------------------------------------------------------------------------------- /test/mocks/data/swagger-petstore-api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/test/mocks/data/swagger-petstore-api.json -------------------------------------------------------------------------------- /test/mocks/data/swagger-reservations-api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/test/mocks/data/swagger-reservations-api.json -------------------------------------------------------------------------------- /test/mocks/gql-gateway-requests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/test/mocks/gql-gateway-requests.js -------------------------------------------------------------------------------- /test/unit/helpers/callbackend.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/test/unit/helpers/callbackend.spec.js -------------------------------------------------------------------------------- /test/unit/helpers/get-body-headers.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/test/unit/helpers/get-body-headers.spec.js -------------------------------------------------------------------------------- /test/unit/helpers/schema-loader.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/segpacto/gql-gateway/HEAD/test/unit/helpers/schema-loader.spec.js --------------------------------------------------------------------------------