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.
Watch jsonforms-swagger in action on the demo page.
This is an Angular 2 application, so it requires Node.js and npm.
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 afternpm 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.