We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Both /servers/{target}/permissions/default and /channels/{target}/permissions/default have the same operationId of permissions_set_default_set_default_permissions. This is invalid, as the OpenAPI spec requires unique operationIds. If I had to guess, renaming one of the functions in either crates/delta/src/routes/channels/permissions_set_default.rs or crates/delta/src/routes/servers/permissions_set_default.rs would get that to be valid
/servers/{target}/permissions/default
/channels/{target}/permissions/default
permissions_set_default_set_default_permissions
The text was updated successfully, but these errors were encountered:
I did some digging, found that the OpenAPI generator's parent (upstream?) has support for overriding the operation id. Added in GREsau/okapi#63
Maybe that could be ported over to revolts fork of okapi and then one of the endpoint tagged like #[openapi(operation_id = "my_custom_id")]
#[openapi(operation_id = "my_custom_id")]
maybe for servers do #[openapi(operation_id = "server_set_default_permissions")]
#[openapi(operation_id = "server_set_default_permissions")]
Sorry, something went wrong.
No branches or pull requests
Both
/servers/{target}/permissions/default
and/channels/{target}/permissions/default
have the same operationId ofpermissions_set_default_set_default_permissions
. This is invalid, as the OpenAPI spec requires unique operationIds. If I had to guess, renaming one of the functions in either crates/delta/src/routes/channels/permissions_set_default.rs or crates/delta/src/routes/servers/permissions_set_default.rs would get that to be validThe text was updated successfully, but these errors were encountered: