Generate JSON Schema file from Introspection #4831
-
Is there currently any way to generate and view the entire GraphQL schema pulled automatically from a GraphQL resource? Right now in Bruno, I have only been able to find the Schema Docs information tab where I can click through every object. This is not useful to me for my purposes as I am working with a GraphQL resource in multiple tools and some do not have the ability to retrieve the schema. These require you to provide it in the form of a json file. The vendor of the resources does not supply this information and tells you to extract it by introspection. GraphQL Playground use to be able to show you the entire schema this way in JSON but but this tool is now deprecated and I am looking for alternative methods to accomplish the same thing. Is there any way to do this in Bruno or is this something that would need to be an enhancement request? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @dapulliam, |
Beta Was this translation helpful? Give feedback.
-
This would definitely work. The way I am getting around this is that I have an older copy of GraphQL Playground laying around for pulling this info which has the capability but none of the newer tools have brought this capability forward. Actually its either JSON or in some cases SDL schema information that is needed. |
Beta Was this translation helpful? Give feedback.
Hi @dapulliam,
We don't have this option available at the moment. However, we can consider adding a download option to the Documentation Explorer in the future. Would that work for you?