Hello friends, just starting with DatHub! I have ...
# getting-started
s
Hello friends, just starting with DatHub! I have a quick question and sorry if it is a naive one. Can I document a GraphQL schema in DataHub? I know we have many tools for that but I was curious if I could do it using DataHub too. I could not find anything in the metadata ingestion documentation.
b
Hi @square-hair-99480 - Currently we do not explicitly model "APIs" or "Services" inside of DataHub (as we are focused on mapping the data landscape). That being said, some folks have actually leveraged the "Dataset" model to capture information about services. You can easily use the SubType aspect to provide a custom "type" (such as GraphQL API) which will appear in the UI. However, you'd still need to map the GraphQL schema into the DataHub Schema Format in order to view it in the UI
s
Thanks @big-carpet-38439!