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

[BUG] Request body not included in method description #63

Open
karencfv opened this issue Sep 9, 2022 · 0 comments
Open

[BUG] Request body not included in method description #63

karencfv opened this issue Sep 9, 2022 · 0 comments
Labels

Comments

@karencfv
Copy link
Collaborator

karencfv commented Sep 9, 2022

When an endpoint takes a request body the description does not mention it in the parameters:

// SiloPolicyUpdate: Update a silo's IAM policy
//
// Parameters:
//   - `siloName`: The silo's unique name.
func (c *Client) SiloPolicyUpdate(siloName Name, j *SiloRolePolicy) (*SiloRolePolicy, error) {

It should look like this:

// SiloPolicyUpdate: Update a silo's IAM policy
//
// Parameters:
//   - `siloName`: The silo's unique name.
//   - `j`: SiloRolePolicy is client view of a [`Policy`], which describes how this resource may be accessed
func (c *Client) SiloPolicyUpdate(siloName Name, j *SiloRolePolicy) (*SiloRolePolicy, error) {
@karencfv karencfv added the bug label Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant