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)
- 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 5
- 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 7
- Ability to Disable URL Rewrite HOT 1
- test issue
- Implementing Stoplight Search React Component Results in QueryClient Error HOT 4
- NOT Enums Ignored - Supported by JSON Schema HOT 4
- $refs with relative paths are not properly resolved with async spec loading HOT 6
- Supporting tag groups to better organize the list of endpoints in the left rail HOT 2
- Build failed in node 20 related to tslib HOT 3
- Default boolean schema value is not shown in parameters dropdown HOT 1
- If the same endpoint has both POST and GET methods, only one of them can be accessed HOT 4
- Elements v^8.1.3 => Unfound type declaration with NextJs 14.2.3 HOT 6
- Documentation of schema with allOf changes based on presence of an attribute in one of the included schemas HOT 9
- Anchor links from articles not working in Elements Dev Portal
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.