Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show API definitions as assets by importing OpenAPI or Swagger files #268

Open
jugi92 opened this issue Nov 14, 2023 · 1 comment
Open
Labels
enhancement New feature or request help wanted Extra attention is needed sample Adding or Updating Sample

Comments

@jugi92
Copy link

jugi92 commented Nov 14, 2023

Describe the feature
Show API definitions as assets by importing OpenAPI or Swagger files

Detailed Example
For example on the following page you can find a Swagger / OpenAPI definition of an API.
It would be nice if this SDK could support loading this document as an asset into Purview. A lot of enterprises do offer APIs and treating them similar to data assets would make it easier for data users to find what they are looking for.

Issues that this feature solves

  • none found

Suggested Implementation
Somehow using the JSON Reader and parsing the OpenAPI JSON definition somehow in a smart way?

Additional context
It might be challenging as OpenAPI definition could be recursive, i.e. calling itself. Those edge cases could be ignored in the beginning.
https://feedback.azure.com/d365community/idea/4b7b7046-e047-ee11-a81c-0022484c92b1
Also posted here but not yet announced for roadmap of Purview.

@jugi92 jugi92 added the enhancement New feature or request label Nov 14, 2023
@wjohnson wjohnson added help wanted Extra attention is needed sample Adding or Updating Sample labels Dec 11, 2023
@wjohnson
Copy link
Owner

@jugi92 this is a great idea for a custom connector! I've added a help wanted and samlpe tag as I think this is something the community could contribute.

I agree, it would be very important to limit / define what part of OpenAPI this would support but a non-recursive version and a typedef would be a huge help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed sample Adding or Updating Sample
Projects
None yet
Development

No branches or pull requests

2 participants