Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/praveenweb/openapi-swagger-remote-schema
OpenAPI/Swagger Spec transformed into GraphQL to be added as a remote schema in Hasura
https://github.com/praveenweb/openapi-swagger-remote-schema
Last synced: 9 days ago
JSON representation
OpenAPI/Swagger Spec transformed into GraphQL to be added as a remote schema in Hasura
- Host: GitHub
- URL: https://github.com/praveenweb/openapi-swagger-remote-schema
- Owner: praveenweb
- Created: 2019-08-02T06:59:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T00:31:16.000Z (almost 2 years ago)
- Last Synced: 2024-10-17T16:08:50.465Z (19 days ago)
- Language: JavaScript
- Size: 89.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# openapi-swagger-remote-schema
[openapi-to-graphql](https://github.com/IBM/openapi-to-graphql) translates APIs described by OpenAPI Specifications (OAS) or Swagger into GraphQL. This server uses that package as a dependency to convert OAS to GraphQL.
## Deploy with Glitch
1. Click the following button to edit on glitch
[![glitch-deploy-button](https://raw.githubusercontent.com/hasura/graphql-engine/master/community/boilerplates/auth-webhooks/nodejs-express/assets/deploy-glitch.png)](http://glitch.com/edit/#!/import/github/praveenweb/openapi-swagger-remote-schema)
2. Change the OpenAPI spec in the `openapi.json` file, as necessary.
## Adding OpenAPI/Swagger as Remote Schema
To be able to query OpenAPI/Swagger data via Hasura, it needs to be added as a Remote Schema using the Hasura Console.
## Running Locally
```bash
npm install
PORT=3000 npm start
```