-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
I'm working on a prototype to have OpenaAPI types reflected in Starlark (e.g use case - #70). Rough API I'm shooting for:
monitoring = openapi("monitoring.coreos.com/v1")
def main(ctx):
return monitoring.PrometheusRule(
metadata = ...,
spec = monitoring.PrometheusRuleSpec(
...
),
)...so it's very similar to proto types but separate registry and reflection is based on OpenAPI v2/3 schema definitions.
I could package this in a separate library but skycfg seems like a logical place for it considering above so opening this to gauge interest, etc
Metadata
Metadata
Assignees
Labels
No labels