k8sgpt-ai / docs

Documentation for K8sGPT
https://docs.k8sgpt.ai/
Apache License 2.0
34 stars 48 forks source link

[Feature]: Openapi reference #111

Open shturec opened 4 months ago

shturec commented 4 months ago

Checklist

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