LuckPerms / rest-api

A REST API for LuckPerms.
MIT License
31 stars 8 forks source link

OpenAPI - Fix some url parameters #17

Closed Cyanoure closed 3 months ago

Cyanoure commented 3 months ago

There are some endpoints in the OpenAPI documentation where the parameter name is different from the placeholder in the endpoint URI. This PR fixes this problem.

The story: I wanted to try the /group/{name} endpoint, but it always returned a "Group doesn't exist" error, then I realized that the parameter is named groupName, not name as in the URI. So if I typed "admin" into the groupName field, the request url was always .../group/{name}.

lucko commented 3 months ago

thanks :)