Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add display attributes for OpenAPI OperationID's #77

Merged
merged 5 commits into from
Apr 15, 2023
Merged

Conversation

averche
Copy link
Contributor

@averche averche commented Apr 7, 2023

Overview

The display attributes added in this PR will be translated into OperationID's in vault-generated OpenAPI documents (when calling /sys/internal/specs/openapi with this plugin enabled). The OperationID's will, in turn, be translated into function / method names in generated OpenAPI-based libraries (e.g. hashicorp/vault-client-go & hashicorp/vault-client-dotnet).


This PR will introduce the following OperationIDs:

Path Method OperationID
"/{alicloud_mount_path}/config" "get" "ali-cloud-read-configuration"
"/{alicloud_mount_path}/config" "post" "ali-cloud-configure"
"/{alicloud_mount_path}/config" "delete" "ali-cloud-delete-configuration"
"/{alicloud_mount_path}/creds/{name}" "get" "ali-cloud-generate-credentials"
"/{alicloud_mount_path}/role" "get" "ali-cloud-list-roles"
"/{alicloud_mount_path}/role/{name}" "get" "ali-cloud-read-role"
"/{alicloud_mount_path}/role/{name}" "post" "ali-cloud-write-role"
"/{alicloud_mount_path}/role/{name}" "delete" "ali-cloud-delete-role"

Related Issues/Pull Requests

@averche averche merged commit 017f5d4 into main Apr 15, 2023
@averche averche deleted the display-attributes branch April 15, 2023 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants