Comments (2)
Hi Gheorghe,
We'd like to better understand what you envision with Jarvis and SwaggerUI. From what we can tell, it seems the steps are:
• Define an API using OpenAPI in a json or yaml file.
• Make it viewable using SwaggerUI as a set of HTML/CSS/JavaScript files.
• Enable Jarvis to serve that content up through its HTML interface.
It would still be up to the developer to write all the code in Jarvis to actually service the requests.
Is that along the lines of what you were envisioning? Or did you have something else in mind?
If that's what you had envisioned, then I think we just need to enable the HTML interface in REST mode. In fact, it wouldn't matter whether the content was generated by SwaggerUI or any other tool as Jarvis doesn't need any special knowledge of the source of the HTML/CSS/JS.
from jarvis.
I think that would definitely be a possible solution.
The outcome would be to use the SwaggerUI interface as a test tool while developing an APL based webservice in Jarvis.
- as a developer I would expect to write all the code pertaining to the request/response cycle
- the swagger interface would update dynamically as I make changes to the signature of an endpoint exposed via swagger
- ideally there would be a simple way to toggle the swagger interface depending on the type of environment the api is running in (it should never be turned on in a production environment) - it could be achieved via an environment variable or via a config file.
Overall I think we are aligned about the outcome - but do let me know if anything is unclear.
from jarvis.
Related Issues (20)
- Consider making IncludeFns and ExcludeFns properties rather than fields HOT 1
- Web interface fails if exposed functions contain ∆
- Allow .apla (APL array) files to be loaded
- EndPoints needs to be ⎕ML/⎕IO insensitive
- Don't close connection for in-process request
- Add MaxPayloadSize setting
- Return 431 status when headers are too large HOT 1
- Any chance of supporting GZip, deflate please. HOT 1
- Bug in running secure server
- Implement better handling in event where user fails the request
- Update Workspaces for Dyalog 17.0 Compatibility
- Provide setting to kill request-handling thread on connection close
- Simpler `sint` HOT 1
- Seemingly random crashes related to "OSError" "Undefined name: CON000000XX" HOT 6
- All but GET method seem to need a none empty body HOT 3
- Update Jarvis container to run under v19 HOT 2
- Incorrect Conga Version Reported On Starting Server
- Pipelining Causes Server Error HOT 3
- Jarvis Test Suite HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jarvis.