
* chore: include enum values in openapi generated code * chore: add enum template to list of template overrides * chore: update template and generated code * feat: generate permissions list from openapi spec * feat: all-access and operator token from CLI Closes #22510 * fix: cloud fixed the resources endpoint * fix: all access and operator permissions cannot be composed * fix: review comments from dan-moran
53 lines
1006 B
YAML
53 lines
1006 B
YAML
openapi: 3.0.0
|
|
info:
|
|
title: Extra configuration to force openapi to generate enum validators
|
|
version: 2.0.0
|
|
servers: []
|
|
paths: {}
|
|
components:
|
|
schemas:
|
|
ResourceEnumOSS:
|
|
type: string
|
|
enum:
|
|
- authorizations
|
|
- buckets
|
|
- dashboards
|
|
- orgs
|
|
- sources
|
|
- tasks
|
|
- telegrafs
|
|
- users
|
|
- variables
|
|
- scrapers
|
|
- secrets
|
|
- labels
|
|
- views
|
|
- documents
|
|
- notificationRules
|
|
- notificationEndpoints
|
|
- checks
|
|
- dbrp
|
|
- notebooks
|
|
ResourceEnumCloud:
|
|
type: string
|
|
enum:
|
|
- authorizations
|
|
- buckets
|
|
- dashboards
|
|
- orgs
|
|
- tasks
|
|
- telegrafs
|
|
- users
|
|
- variables
|
|
- secrets
|
|
- labels
|
|
- views
|
|
- documents
|
|
- notificationRules
|
|
- notificationEndpoints
|
|
- checks
|
|
- dbrp
|
|
- flows
|
|
- annotations
|
|
- functions
|