Skip to content

[Feature]: Openapi reference #111

@shturec

Description

@shturec

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions