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

[Feature]: Openapi reference #111

Open
2 tasks done
shturec opened this issue Jul 11, 2024 · 0 comments
Open
2 tasks done

[Feature]: Openapi reference #111

shturec opened this issue Jul 11, 2024 · 0 comments

Comments

@shturec
Copy link

shturec commented Jul 11, 2024

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?

No

Problem Description

No response

Solution Description

Running k8sgpt wth flag --http enables a REST API via grpc gateway.
There are way to generate openapi from grpc as the grpc gateway readme suggests:
https://github.com/grpc-ecosystem/grpc-gateway?tab=readme-ov-file#6-optional-generate-openapi-definitions-using-protoc-gen-openapiv2

Benefits

This is a very tangible and useful integration scenario and an openapi specification will nicely support the integration efforts based on it.

Potential Drawbacks

No response

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant