Allow multiple types in JSON schema docs tool (#3126)

* allow multiple types in JSON schema docs tool

* support pattern

* support pattern
This commit is contained in:
Ludovico Magnocavallo
2025-05-31 11:58:20 +02:00
committed by GitHub
parent 6090198b50
commit 6b04ce769d
53 changed files with 188 additions and 46 deletions

View File

@@ -41,3 +41,4 @@
## Definitions

View File

@@ -15,6 +15,7 @@
<br>*enum: ['IDENTITY_TYPE_UNSPECIFIED', 'ANY_IDENTITY', 'ANY_USER_ACCOUNT', 'ANY_SERVICE_ACCOUNT', '']*
- **identities**: *array*
- items: *string*
<br>*pattern: ^(?:serviceAccount:|user:|group:|principal:)*
- **resources**: *array*
- items: *string*
- ⁺**to**: *object*
@@ -36,3 +37,4 @@
## Definitions

View File

@@ -32,3 +32,4 @@
## Definitions

View File

@@ -7,7 +7,7 @@
*additional properties: false*
- **description**: *string*
- **title**: *string*
- **ignore_resource_changes**: *boolean*
- **spec**: *object*
<br>*additional properties: false*
- **access_levels**: *array*
@@ -34,6 +34,7 @@
- **restricted_services**: *array*
- items: *string*
- **vpc_accessible_services**: *reference([VpcAccessibleServices](#refs-VpcAccessibleServices))*
- **title**: *string*
- **use_explicit_dry_run_spec**: *boolean*
## Definitions
@@ -42,4 +43,4 @@
<br>*additional properties: false*
- ⁺**allowed_services**: *array*
- items: *string*
- **enable_restriction**: *boolean*
- **enable_restriction**: *boolean*