Add metadata

Having OpenAPI is not enough to render sdk/cli/etc. A metadata is
necessary describing path to the spec, operation definition in the spec
and what and how to generate out of it. While most of the data can be
"assumed" there are cases where customization is necessary.

For now add metadata into the tree.

Change-Id: Ice129db1ceb2487c95d4c66946c6a0f57c60824e
This commit is contained in:
Artem Goncharov 2024-06-18 14:01:47 +02:00
parent 3ac8000fcb
commit 6e297814f9
7 changed files with 13674 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,935 @@
resources:
image.schema/image:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/image:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema image show
image.schema/images:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/images:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema images show
image.schema/member:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/member:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema member show
image.schema/members:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/members:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema members show
image.schema/task:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/task:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema task show
image.schema/tasks:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/tasks:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema tasks show
image.schema/metadef/namespace:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/namespace:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef namespace show
image.schema/metadef/namespaces:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/namespaces:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef namespaces show
image.schema/metadef/resource_type:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/resource_type:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef resource-type show
image.schema/metadef/resource_types:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/resource_types:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef resource-types show
image.schema/metadef/property:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/property:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef property show
image.schema/metadef/properties:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/properties:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef properties show
image.schema/metadef/object:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/object:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef object show
image.schema/metadef/objects:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/objects:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef objects show
image.schema/metadef/tag:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/tag:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef tag show
image.schema/metadef/tags:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/tags:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef tags show
image.metadef/resource_type:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/resource_types:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: metadef resource-type list
image.metadef/namespace/resource_type:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/namespaces/namespace_name/resource_types:get
operation_type: list
targets:
rust-sdk:
module_name: list
response_key: resource_type_associations
rust-cli:
module_name: list
sdk_mod_name: list
response_key: resource_type_associations
cli_full_command: metadef namespace resource-type-association list
create:
operation_id: metadefs/namespaces/namespace_name/resource_types:post
operation_type: create
targets:
rust-sdk:
module_name: create
response_key: resource_type_associations
rust-cli:
module_name: create
sdk_mod_name: create
response_key: resource_type_associations
cli_full_command: metadef namespace resource-type-association create
delete:
operation_id: metadefs/namespaces/namespace_name/resource_types/resource_type:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
response_key: resource_type_associations
rust-cli:
module_name: delete
sdk_mod_name: delete
response_key: resource_type_associations
cli_full_command: metadef namespace resource-type-association delete
image.metadef/namespace:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/namespaces:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: metadef namespace list
create:
operation_id: metadefs/namespaces:post
operation_type: create
targets:
rust-sdk:
module_name: create
response_key: 'null'
rust-cli:
module_name: create
sdk_mod_name: create
response_key: 'null'
cli_full_command: metadef namespace create
show:
operation_id: metadefs/namespaces/namespace_name:get
operation_type: show
targets:
rust-sdk:
module_name: get
response_key: 'null'
rust-cli:
module_name: show
sdk_mod_name: get
response_key: 'null'
cli_full_command: metadef namespace show
update:
operation_id: metadefs/namespaces/namespace_name:put
operation_type: set
targets:
rust-sdk:
module_name: set
response_key: 'null'
rust-cli:
module_name: set
sdk_mod_name: set
response_key: 'null'
cli_full_command: metadef namespace set
delete:
operation_id: metadefs/namespaces/namespace_name:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
response_key: 'null'
rust-cli:
module_name: delete
sdk_mod_name: delete
response_key: 'null'
cli_full_command: metadef namespace delete
image.metadef/namespace/property:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/namespaces/namespace_name/properties:get
operation_type: list
targets:
rust-sdk:
module_name: list
response_key: properties
rust-cli:
module_name: list
sdk_mod_name: list
operation_type: list_from_struct
response_key: properties
cli_full_command: metadef namespace property list
create:
operation_id: metadefs/namespaces/namespace_name/properties:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: metadef namespace property create
delete_all:
operation_id: metadefs/namespaces/namespace_name/properties:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete_all
rust-cli:
module_name: delete_all
sdk_mod_name: delete_all
cli_full_command: metadef namespace property purge
show:
operation_id: metadefs/namespaces/namespace_name/properties/property_name:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: metadef namespace property show
update:
operation_id: metadefs/namespaces/namespace_name/properties/property_name:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: metadef namespace property set
delete:
operation_id: metadefs/namespaces/namespace_name/properties/property_name:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: metadef namespace property delete
image.metadef/namespace/object:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/namespaces/namespace_name/objects:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: metadef namespace object list
create:
operation_id: metadefs/namespaces/namespace_name/objects:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: metadef namespace object create
delete_all:
operation_id: metadefs/namespaces/namespace_name/objects:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete_all
rust-cli:
module_name: delete_all
sdk_mod_name: delete_all
cli_full_command: metadef namespace object purge
show:
operation_id: metadefs/namespaces/namespace_name/objects/object_name:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: metadef namespace object show
update:
operation_id: metadefs/namespaces/namespace_name/objects/object_name:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: metadef namespace object set
delete:
operation_id: metadefs/namespaces/namespace_name/objects/object_name:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: metadef namespace object delete
image.metadef/namespace/tag:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/namespaces/namespace_name/tags:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: metadef namespace tag list
create:
operation_id: metadefs/namespaces/namespace_name/tags/tag_name:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: metadef namespace tag create
delete_all:
operation_id: metadefs/namespaces/namespace_name/tags:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete_all
rust-cli:
module_name: delete_all
sdk_mod_name: delete_all
cli_full_command: metadef namespace tag purge
show:
operation_id: metadefs/namespaces/namespace_name/tags/tag_name:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: metadef namespace tag check
update:
operation_id: metadefs/namespaces/namespace_name/tags/tag_name:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: metadef namespace tag add
delete:
operation_id: metadefs/namespaces/namespace_name/tags/tag_name:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: metadef namespace tag delete
image.image:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: images:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: image list
create:
operation_id: images:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: image create
show:
operation_id: images/image_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
find_implemented_by_sdk: true
cli_full_command: image show
delete:
operation_id: images/image_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
find_implemented_by_sdk: true
cli_full_command: image delete
patch:
operation_id: images/image_id:patch
operation_type: set
targets:
rust-sdk:
module_name: patch
rust-cli:
module_name: patch
sdk_mod_name: patch
find_implemented_by_sdk: true
cli_full_command: image set
deactivate:
operation_id: images/image_id/actions/deactivate:post
operation_type: action
targets:
rust-sdk:
module_name: deactivate
rust-cli:
module_name: deactivate
sdk_mod_name: deactivate
find_implemented_by_sdk: true
cli_full_command: image deactivate
reactivate:
operation_id: images/image_id/actions/reactivate:post
operation_type: action
targets:
rust-sdk:
module_name: reactivate
rust-cli:
module_name: reactivate
sdk_mod_name: reactivate
find_implemented_by_sdk: true
cli_full_command: image reactivate
find:
operation_id: images:get
operation_type: find
targets:
rust-sdk:
module_name: find
sdk_mod_path: image::v2::image
name_field: name
name_filter_supported: true
list_mod: list
image.image/task:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: images/image_id/tasks:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: image task list
image.image/import:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
create:
operation_id: images/image_id/import:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: image import create
image.store:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
delete:
operation_id: stores/store_id/image_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: store delete
image.image/file:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
download:
operation_id: images/image_id/file:get
operation_type: download
targets:
rust-sdk:
module_name: download
rust-cli:
module_name: download
sdk_mod_name: download
cli_full_command: image download
upload:
operation_id: images/image_id/file:put
operation_type: upload
targets:
rust-sdk:
module_name: upload
rust-cli:
module_name: upload
sdk_mod_name: upload
cli_full_command: image upload
image.image/stage:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
stage:
operation_id: images/image_id/stage:put
operation_type: action
targets:
rust-sdk:
module_name: stage
rust-cli:
module_name: stage
sdk_mod_name: stage
cli_full_command: image stage stage
image.image/tag:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
update:
operation_id: images/image_id/tags/tag_value:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: image tag add
delete:
operation_id: images/image_id/tags/tag_value:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: image tag delete
image.image/member:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: images/image_id/members:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: image member list
create:
operation_id: images/image_id/members:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: image member create
show:
operation_id: images/image_id/members/member_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: image member show
update:
operation_id: images/image_id/members/member_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: image member set
delete:
operation_id: images/image_id/members/member_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: image member delete
image.task:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: tasks:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: task list
create:
operation_id: tasks:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: task create
show:
operation_id: tasks/task_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: task show
delete:
operation_id: tasks/task_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: task delete
image.info/import:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: info/import:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
cli_full_command: info import get
image.info/store:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: info/stores:get
operation_type: list
targets:
rust-sdk:
module_name: list
list_detailed:
operation_id: info/stores/detail:get
operation_type: list
targets:
rust-sdk:
module_name: list_detailed
rust-cli:
module_name: list
sdk_mod_name: list_detailed
cli_full_command: info store list
image.info/usage:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: info/usage:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: info usage list
image.cache:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: cache:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: cache list
delete_all:
operation_id: cache:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete_all
rust-cli:
module_name: delete_all
sdk_mod_name: delete_all
cli_full_command: cache purge
update:
operation_id: cache/image_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: cache set
delete:
operation_id: cache/image_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: cache delete

@ -0,0 +1,945 @@
resources:
load-balancer.version:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
get:
operation_id: lbaas:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
cli_full_command: version get
load-balancer.loadbalancer:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
show:
operation_id: lbaas/loadbalancers/loadbalancer_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
find_implemented_by_sdk: true
cli_full_command: loadbalancer show
update:
operation_id: lbaas/loadbalancers/loadbalancer_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
find_implemented_by_sdk: true
cli_full_command: loadbalancer set
delete:
operation_id: lbaas/loadbalancers/loadbalancer_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
find_implemented_by_sdk: true
cli_full_command: loadbalancer delete
list:
operation_id: lbaas/loadbalancers:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: loadbalancer list
create:
operation_id: lbaas/loadbalancers:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: loadbalancer create
stats:
operation_id: lbaas/loadbalancers/loadbalancer_id/stats:get
operation_type: get
targets:
rust-sdk:
module_name: stats
rust-cli:
module_name: stats
sdk_mod_name: stats
find_implemented_by_sdk: true
cli_full_command: loadbalancer stats
status:
operation_id: lbaas/loadbalancers/loadbalancer_id/status:get
operation_type: get
targets:
rust-sdk:
module_name: status
rust-cli:
module_name: status
sdk_mod_name: status
find_implemented_by_sdk: true
cli_full_command: loadbalancer status
failover:
operation_id: lbaas/loadbalancers/loadbalancer_id/failover:put
operation_type: action
targets:
rust-sdk:
module_name: failover
rust-cli:
module_name: failover
sdk_mod_name: failover
find_implemented_by_sdk: true
cli_full_command: loadbalancer failover
find:
operation_id: lbaas/loadbalancers:get
operation_type: find
targets:
rust-sdk:
module_name: find
sdk_mod_path: load_balancer::v2::loadbalancer
name_field: name
name_filter_supported: false
list_mod: list
load-balancer.listener:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
show:
operation_id: lbaas/listeners/listener_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
find_implemented_by_sdk: true
cli_full_command: listener show
update:
operation_id: lbaas/listeners/listener_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
find_implemented_by_sdk: true
cli_full_command: listener set
delete:
operation_id: lbaas/listeners/listener_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
find_implemented_by_sdk: true
cli_full_command: listener delete
list:
operation_id: lbaas/listeners:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: listener list
create:
operation_id: lbaas/listeners:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: listener create
stats:
operation_id: lbaas/listeners/listener_id/stats:get
operation_type: get
targets:
rust-sdk:
module_name: stats
rust-cli:
module_name: stats
sdk_mod_name: stats
find_implemented_by_sdk: true
cli_full_command: listener stats
find:
operation_id: lbaas/listeners:get
operation_type: find
targets:
rust-sdk:
module_name: find
sdk_mod_path: load_balancer::v2::listener
name_field: name
name_filter_supported: false
list_mod: list
load-balancer.pool:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
show:
operation_id: lbaas/pools/pool_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
find_implemented_by_sdk: true
cli_full_command: pool show
update:
operation_id: lbaas/pools/pool_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
find_implemented_by_sdk: true
cli_full_command: pool set
delete:
operation_id: lbaas/pools/pool_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
find_implemented_by_sdk: true
cli_full_command: pool delete
list:
operation_id: lbaas/pools:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: pool list
create:
operation_id: lbaas/pools:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: pool create
find:
operation_id: lbaas/pools:get
operation_type: find
targets:
rust-sdk:
module_name: find
sdk_mod_path: load_balancer::v2::pool
name_field: name
name_filter_supported: false
list_mod: list
load-balancer.l7policy:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
show:
operation_id: lbaas/l7policies/l7policy_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
find_implemented_by_sdk: true
cli_full_command: l7policy show
update:
operation_id: lbaas/l7policies/l7policy_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
find_implemented_by_sdk: true
cli_full_command: l7policy set
delete:
operation_id: lbaas/l7policies/l7policy_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
find_implemented_by_sdk: true
cli_full_command: l7policy delete
list:
operation_id: lbaas/l7policies:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: l7policy list
create:
operation_id: lbaas/l7policies:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: l7policy create
find:
operation_id: lbaas/l7policies:get
operation_type: find
targets:
rust-sdk:
module_name: find
sdk_mod_path: load_balancer::v2::l7policy
name_field: name
name_filter_supported: false
list_mod: list
load-balancer.healthmonitor:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
show:
operation_id: lbaas/healthmonitors/healthmonitor_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
find_implemented_by_sdk: true
cli_full_command: healthmonitor show
update:
operation_id: lbaas/healthmonitors/healthmonitor_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
find_implemented_by_sdk: true
cli_full_command: healthmonitor set
delete:
operation_id: lbaas/healthmonitors/healthmonitor_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
find_implemented_by_sdk: true
cli_full_command: healthmonitor delete
list:
operation_id: lbaas/healthmonitors:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: healthmonitor list
create:
operation_id: lbaas/healthmonitors:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: healthmonitor create
find:
operation_id: lbaas/healthmonitors:get
operation_type: find
targets:
rust-sdk:
module_name: find
sdk_mod_path: load_balancer::v2::healthmonitor
name_field: name
name_filter_supported: false
list_mod: list
load-balancer.quota:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
show:
operation_id: lbaas/quotas/project_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: quota show
update:
operation_id: lbaas/quotas/project_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: quota set
delete:
operation_id: lbaas/quotas/project_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: quota delete
list:
operation_id: lbaas/quotas:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: quota list
load-balancer.provider:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
list:
operation_id: lbaas/providers:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: provider list
load-balancer.flavor:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
show:
operation_id: lbaas/flavors/flavor_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
find_implemented_by_sdk: true
cli_full_command: flavor show
update:
operation_id: lbaas/flavors/flavor_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
find_implemented_by_sdk: true
cli_full_command: flavor set
delete:
operation_id: lbaas/flavors/flavor_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
find_implemented_by_sdk: true
cli_full_command: flavor delete
list:
operation_id: lbaas/flavors:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: flavor list
create:
operation_id: lbaas/flavors:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: flavor create
find:
operation_id: lbaas/flavors:get
operation_type: find
targets:
rust-sdk:
module_name: find
sdk_mod_path: load_balancer::v2::flavor
name_field: name
name_filter_supported: false
list_mod: list
load-balancer.flavor_profile:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
show:
operation_id: lbaas/flavorprofiles/flavorprofile_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
find_implemented_by_sdk: true
cli_full_command: flavor-profile show
update:
operation_id: lbaas/flavorprofiles/flavorprofile_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
find_implemented_by_sdk: true
cli_full_command: flavor-profile set
delete:
operation_id: lbaas/flavorprofiles/flavorprofile_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
find_implemented_by_sdk: true
cli_full_command: flavor-profile delete
list:
operation_id: lbaas/flavorprofiles:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: flavor-profile list
create:
operation_id: lbaas/flavorprofiles:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: flavor-profile create
find:
operation_id: lbaas/flavorprofiles:get
operation_type: find
targets:
rust-sdk:
module_name: find
sdk_mod_path: load_balancer::v2::flavor_profile
name_field: name
name_filter_supported: false
list_mod: list
load-balancer.availability_zone:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
show:
operation_id: lbaas/availabilityzones/availabilityzone_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: availability-zone show
update:
operation_id: lbaas/availabilityzones/availabilityzone_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: availability-zone set
delete:
operation_id: lbaas/availabilityzones/availabilityzone_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: availability-zone delete
list:
operation_id: lbaas/availabilityzones:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: availability-zone list
create:
operation_id: lbaas/availabilityzones:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: availability-zone create
load-balancer.availability_zone_profile:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
show:
operation_id: lbaas/availabilityzoneprofiles/availabilityzoneprofile_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
find_implemented_by_sdk: true
cli_full_command: availability-zone-profile show
update:
operation_id: lbaas/availabilityzoneprofiles/availabilityzoneprofile_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
find_implemented_by_sdk: true
cli_full_command: availability-zone-profile set
delete:
operation_id: lbaas/availabilityzoneprofiles/availabilityzoneprofile_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
find_implemented_by_sdk: true
cli_full_command: availability-zone-profile delete
list:
operation_id: lbaas/availabilityzoneprofiles:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: availability-zone-profile list
create:
operation_id: lbaas/availabilityzoneprofiles:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: availability-zone-profile create
find:
operation_id: lbaas/availabilityzoneprofiles:get
operation_type: find
targets:
rust-sdk:
module_name: find
sdk_mod_path: load_balancer::v2::availability_zone_profile
name_field: name
name_filter_supported: false
list_mod: list
load-balancer.octavia:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
get:
operation_id: octavia:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
cli_full_command: octavia get
load-balancer.amphorae:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
show:
operation_id: octavia/amphorae/amphora_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: amphorae show
delete:
operation_id: octavia/amphorae/amphora_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: amphorae delete
list:
operation_id: octavia/amphorae:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: amphorae list
stats:
operation_id: octavia/amphorae/amphora_id/stats:get
operation_type: get
targets:
rust-sdk:
module_name: stats
rust-cli:
module_name: stats
sdk_mod_name: stats
cli_full_command: amphorae stats
config:
operation_id: octavia/amphorae/amphora_id/config:put
operation_type: action
targets:
rust-sdk:
module_name: config
rust-cli:
module_name: config
sdk_mod_name: config
cli_full_command: amphorae config
failover:
operation_id: octavia/amphorae/amphora_id/failover:put
operation_type: action
targets:
rust-sdk:
module_name: failover
rust-cli:
module_name: failover
sdk_mod_name: failover
cli_full_command: amphorae failover
load-balancer.provider/flavor_capability:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
list:
operation_id: lbaas/providers/provider/flavor_capabilities:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: provider flavor-capability list
load-balancer.provider/availability_zone_capability:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
list:
operation_id: lbaas/providers/provider/availability_zone_capabilities:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: provider availability-zone-capability list
load-balancer.l7policy/rule:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
list:
operation_id: lbaas/l7policies/l7policy_id/rules:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: l7policy rule list
create:
operation_id: lbaas/l7policies/l7policy_id/rules:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: l7policy rule create
show:
operation_id: lbaas/l7policies/l7policy_id/rules/rule_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: l7policy rule show
update:
operation_id: lbaas/l7policies/l7policy_id/rules/rule_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: l7policy rule set
delete:
operation_id: lbaas/l7policies/l7policy_id/rules/rule_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: l7policy rule delete
load-balancer.pool/member:
spec_file: wrk/openapi_specs/load-balancer/v2.yaml
api_version: v2
operations:
list:
operation_id: lbaas/pools/pool_id/members:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: pool member list
replace:
operation_id: lbaas/pools/pool_id/members:put
operation_type: set
targets:
rust-sdk:
module_name: replace
rust-cli:
module_name: replace
sdk_mod_name: replace
find_implemented_by_sdk: true
cli_full_command: pool member replace
create:
operation_id: lbaas/pools/pool_id/members:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: pool member create
show:
operation_id: lbaas/pools/pool_id/members/member_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
find_implemented_by_sdk: true
cli_full_command: pool member show
update:
operation_id: lbaas/pools/pool_id/members/member_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
find_implemented_by_sdk: true
cli_full_command: pool member set
delete:
operation_id: lbaas/pools/pool_id/members/member_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
find_implemented_by_sdk: true
cli_full_command: pool member delete
find:
operation_id: lbaas/pools/pool_id/members:get
operation_type: find
targets:
rust-sdk:
module_name: find
sdk_mod_path: load_balancer::v2::pool::member
name_field: name
name_filter_supported: false
list_mod: list

File diff suppressed because it is too large Load Diff

@ -0,0 +1,153 @@
resources:
object-store.account:
spec_file: wrk/openapi_specs/object-store/v1.yaml
api_version: v1
operations:
head:
operation_id: account.head
operation_type: action
targets:
rust-sdk:
module_name: head
rust-cli:
module_name: head
sdk_mod_name: head
cli_full_command: account show
get:
operation_id: account.get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
cli_full_command: container list
update:
operation_id: account.post
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: account set
delete:
operation_id: account.delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: account delete
object-store.container:
spec_file: wrk/openapi_specs/object-store/v1.yaml
api_version: v1
operations:
head:
operation_id: container.head
operation_type: action
targets:
rust-sdk:
module_name: head
rust-cli:
module_name: head
sdk_mod_name: head
cli_full_command: container show
get:
operation_id: container.get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
cli_full_command: object list
create:
operation_id: container.put
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: container create
update:
operation_id: container.post
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: container set
delete:
operation_id: container.delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: container delete
object-store.object:
spec_file: wrk/openapi_specs/object-store/v1.yaml
api_version: v1
operations:
head:
operation_id: object.head
operation_type: action
targets:
rust-sdk:
module_name: head
rust-cli:
module_name: head
sdk_mod_name: head
cli_full_command: object show
get:
operation_id: object.get
operation_type: download
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
cli_full_command: object download
put:
operation_id: object.put
operation_type: upload
targets:
rust-sdk:
module_name: put
rust-cli:
module_name: put
sdk_mod_name: put
cli_full_command: object upload
update:
operation_id: object.post
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: object set
delete:
operation_id: object.delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: object delete