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 approle's remaining response schema definitions #18772

Merged
merged 3 commits into from
Jan 24, 2023

Conversation

averche
Copy link
Contributor

@averche averche commented Jan 19, 2023

Adding response schema definitions (and the corresponding tests) for the following two path files. These response field definitions will be used to generate better OpenAPI spec in Vault (see VLT-234).

  • approle/path_login.go
  • approle/path_tidy_user_id.go

The response schemas for approle/path_role.go have already been added in #18198 and #18636.

@averche averche added this to the 1.13.0-rc1 milestone Jan 19, 2023
logical.UpdateOperation: &framework.PathOperation{
Callback: b.pathTidySecretIDUpdate,
Responses: map[int][]framework.Response{
http.StatusAccepted: {{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the first instance of "Accepted" that I've seen

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, it does not seem super common.

@averche averche merged commit 4a6bfc9 into main Jan 24, 2023
@averche averche deleted the approle-response-structs branch January 24, 2023 19:47
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.

2 participants