Comments (4)
It's on the roadmap. Currently prism-http has the resolving logic because of the method createClientFromSpec
. I can eliminate such method/move it to prism-cli so that the whole thing won't be necessary anymore.
from elements.
The recommended way right now is to do exactly what they've already done, mocking the fs
library.
cc @XVincentX we should remove the fs
dep from these frontend libraries if it's not needed
from elements.
@lottamus Can we add a section to the readme about this then?
Also we should move the "Contributing" section out of the readme if we don't have immediate plans to open source the thing. Customers see it and get confused as to how they can contribute without access to the repo.
from elements.
@rossmcdonald @lottamus I've just published a @beta tag for Prism which does not require this stuff anymore.
from elements.
Related Issues (20)
- Authorization panel not displayed in TryIt when usng an OpenApi 3.0 spec document. HOT 2
- Elements doesn't work with NextJS out of the box HOT 3
- react-cra example is failing HOT 1
- Try-it: Content-type added even when no request body defined HOT 4
- Add brackets around default URL parameters
- Multiple reponse examples throws an error
- OpenAPI spec with multi-request doesn't show current request description when it's present in schema
- Try It allows to select only one security, even if openapi requires multiple at once HOT 2
- Add a more realistic API Key example
- UI for sending API request where authentication is optional
- Lack of Array Support in "Try It" for Parameters
- Deprecated flag not showing on deprecated endpoints
- Update React Example in Elements to Latest Version of Create-React-App
- elements conflicts with React 18 (and Next.js 13.4) HOT 3
- Elements demo site won't load due to CORS error.
- Use formatting for examples in request/response fields HOT 2
- Unable to fetch API description document HOT 1
- Sample request should not be hidden when Try It is hidden
- Render Server Variables in API Overview and Update Proposals Hook HOT 1
- Server Variable support in 'Try It' Section 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 elements.