Giter VIP home page Giter VIP logo

jsonforms-swagger's Introduction

jsonforms-swagger

This project integrates JSONForms with the OpenAPI Specification. Given a RESTful service defined with the OpenAPI Specification, this project uses JSONForms for automatically building web forms capable of interacting with that service.

Demo

Watch jsonforms-swagger in action on the demo page.

Prerequisites

This is an Angular 2 application, so it requires Node.js and npm.

Build process

Clone this repo into new project folder (e.g., my-proj).

git clone  https://github.com/eclipsesource/jsonforms-swagger.git  my-proj
cd my-proj

Install the npm packages described in the package.json and verify that it works:

npm install
npm start

If the typings folder doesn't show up after npm install please install them manually with:

npm run typings -- install

The npm start command compiles the application and runs the weppack-dev-server. Both the compiler and the server watch for file changes. Results are served from localhost:8080.

Shut it down manually with Ctrl-C.

You're ready to use/extend this application.

jsonforms-swagger's People

Contributors

hecforga avatar pancho111203 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jsonforms-swagger's Issues

Find swagger users

Three prominent well known users of swagger should be found. Pick an api of each of them.

Test current prototype with all found swagger definitions

Buffer (https://buffer.com/)
API url: https://api.apis.guru/v2/specs/bufferapp.com/1/swagger.json
Uses tags? No
Uses definitions? Yes
gettyimages (http://www.gettyimages.com/)
API url: https://api.apis.guru/v2/specs/gettyimages.com/3.0/swagger.json
Uses tags? Yes
Uses definitions? Yes
GitHub (https://github.com/)
API url: https://api.apis.guru/v2/specs/github.com/v3/swagger.json
Uses tags? No
Uses definitions? Yes
Blogger (https://www.blogger.com/)
API url: https://api.apis.guru/v2/specs/googleapis.com/blogger/v3/swagger.json
Uses tags? Yes
Uses definitions? Yes
Gmail (https://mail.google.com/)
API url: https://api.apis.guru/v2/specs/googleapis.com/gmail/v1/swagger.json
Uses tags? Yes
Uses definitions? Yes
YouTube (https://www.youtube.com/)
API url: https://api.apis.guru/v2/specs/googleapis.com/youtube/v3/swagger.json
Uses tags? Yes
Uses definitions? Yes
Instagram (https://www.instagram.com/)
API url: https://api.apis.guru/v2/specs/instagram.com/1.0.0/swagger.json
Uses tags? Yes
Uses definitions? Yes
Owler (https://www.owler.com/)
API url: https://api.apis.guru/v2/specs/owler.com/1.0.0/swagger.json
Uses tags? Yes
Uses definitions? Yes
Semantria (https://www.lexalytics.com/semantria)
API url: https://api.apis.guru/v2/specs/semantria.com/4.0/swagger.json
Uses tags? Yes
Uses definitions? Yes
Slack (https://slack.com/)
API url: https://api.apis.guru/v2/specs/slack.com/1.0.0/swagger.json
Uses tags? No
Uses definitions? Yes
Trello (https://trello.com/)
API url: https://api.apis.guru/v2/specs/trello.com/1.0/swagger.json
Uses tags? Yes
Uses definitions? Yes
Wordnik (https://www.wordnik.com/)
API url: https://api.apis.guru/v2/specs/wordnik.com/4.0/swagger.json
Uses tags? Yes
Uses definitions? Yes
xkcd (http://xkcd.com/)
API url: https://api.apis.guru/v2/specs/xkcd.com/1.0.0/swagger.json
Uses tags? No
Uses definitions? Yes

Define Mockups for user test

Mockup 1: Sidebar with entities and available workflows/actions
Mockup2: Sidebar with Entities BUT no actions. Every entity has only one screen with all functions as discussed in our meeting today.

Heroku build isn't working because of jsonforms dependency

When executing "git push heroku master" I am getting the following error, related to the installation of typings on jsonforms.
I tried to fix it installing typings globally but it doesn't work.
The problem seems to reside in the way typings is installed on package.json of jsonforms.

remote: -----> Building dependencies
remote: Installing node modules (package.json)
remote:
remote: > [email protected] postinstall /tmp/build_56a4c9e5afcc2536e652b78dc6ff29bb/node_modules/jsonforms
remote: > typings install
remote:
remote: sh: 1: typings: not found
remote: - [email protected] node_modules/express/node_modules/qs
remote: - [email protected] node_modules/send/node_modules/statuses
remote: - [email protected] node_modules/serve-static/node_modules/depd
remote: - [email protected] node_modules/serve-static/node_modules/statuses
remote: - [email protected] node_modules/serve-static/node_modules/send
remote: [email protected] /tmp/build_56a4c9e5afcc2536e652b78dc6ff29bb
remote: ├── @angular/[email protected]
remote: ├── [email protected]
remote: ├── [email protected]
remote: ├─┬ [email protected]
remote: │ ├─┬ [email protected]
remote: │ │ └── [email protected]
remote: │ ├── [email protected]
remote: │ ├── [email protected]
remote: │ ├── [email protected]
remote: │ ├─┬ [email protected]
remote: │ │ └── [email protected]
remote: │ ├── [email protected]
remote: │ ├── [email protected]
remote: │ ├─┬ [email protected]
remote: │ │ └─┬ [email protected]
remote: │ │ └── [email protected]
remote: │ ├── [email protected]
remote: │ └── [email protected]
remote: ├── [email protected]
remote: ├── [email protected]
remote: ├── [email protected]
remote: └── [email protected]
remote:
remote: npm ERR! Linux 3.13.0-91-generic
remote: npm ERR! argv "/tmp/build_56a4c9e5afcc2536e652b78dc6ff29bb/.heroku/node/bin/node" "/tmp/build_56a4c9e5afcc2536e652b78dc6ff29bb/.heroku/node/bin/npm" "install" "--unsafe-perm" "--userconfig" "/tmp/build_56a4c9e5afcc2536e652b78dc6ff29bb/.npmrc"
remote: npm ERR! node v5.11.1
remote: npm ERR! npm v3.8.6
remote: npm ERR! file sh
remote: npm ERR! code ELIFECYCLE
remote: npm ERR! errno ENOENT
remote: npm ERR! syscall spawn
remote:
remote: npm ERR! [email protected] postinstall: typings install
remote: npm ERR! spawn ENOENT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.