Closed ryantxu closed 8 months ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ryantxu Once this PR has been reviewed and has the lgtm label, please assign sttts for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
For context -- we are aiming to include values from https://github.com/grafana/grafana-plugin-sdk-go in apis exposed using kube-openapi.
Any better suggestions for function naming?
this is not working as i hoped it might... will think some more and revist if it still makes sense
The ability to add OpenAPIV3Definition() is essential when trying to integrate existing complex types, however it requires importing this library.
For simple types, this can be avoided using:
This PR proposes adding a new function that lets you return a raw spec directly
TODO: