Provide default OpenAPI settings & definitions #109
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Since #65,
custom-metrics-apiserver
serves an OpenAPI spec; however, it requires a configuration and the generation by the project usingcustom-metrics-apiserver
of OpenAPI definitions usingopenapi-gen
.That leads to duplicated works, each implementation project having to generate its own OpenAPI definitions.
E.g.:
test-adapter
generates definitions here and configures OpenAPI here;prometheus-adapter
generates definitions here and configures OpenAPI here;keda
generates definitions here and configures OpenAPI here.It seams reasonable to provide these generated OpenAPI definitions in
custom-metrics-apiserver
, along with default OpenAPI serving settings (and let it possible to customize it).Any thought?
/kind feature
/assign
The text was updated successfully, but these errors were encountered: