Comments (5)
Hey @lottamus, @pytlesk4, can we sync quickly on this issue? It will require some API changes and I want to check-in if you have a better idea.
In essence, projects.nodes
endpoint will need to return data
(a string that we can later JSON.parse). I think it makes sense to send the entire data
object (even though I will be picking only one property right now - the method name) but maybe you don't think it doesn't make sense.
from elements.
maybe you don't think it doesn't make sense
The entire data object could potentially be huge. Returning that for 300+ nodes would be a lot of data. Ideally we would just create this tree data object in the analyzer then store is in another table for easy access but we need a design doc on how that should work.
For now I suggest just grabbing whatever you need and returning it with the node. https://github.com/stoplightio/api-gen3/blob/58b22e774795631c5a52a423ff21711dfbf14cf1/src/services/projects/controller.ts#L62
from elements.
Cool, makes sense!
from elements.
Leaving this to someone from Docs squad.
from elements.
Closing in favor of #67
from elements.
Related Issues (20)
- return type with inheritance is not shown HOT 2
- Element crash when opening two TryIt section simultaneously on stacked layout HOT 2
- Links with absolute urls do not work HOT 1
- Arrange listing by url instead of title HOT 1
- Stoplight element react failed with error HOT 8
- Error when adding react element HOT 9
- Request Body is not visible for some APIs HOT 2
- Storybook is empty HOT 1
- Permit selection of specific Accept header values in "Send API Request" HOT 1
- Feature Request: Display security scheme roles
- Update to http-spec 7 HOT 1
- Broken storybook
- Inline styles in web-components.min.js cause CSP violation HOT 4
- Make "Omit <fieldname>" checked by default or make it configurable HOT 1
- Show example summary and or descriptions For all Path Item Objects
- "Try It" response preview caches previous response data HOT 3
- toc(oas): malformed path (custom slug) HOT 4
- $.info.license.name Always Add Word "License" HOT 8
- Change Stylesheet on Request Bodies to Improve Curly Brace Readability HOT 3
- Example body missing reference schema attributes HOT 4
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.