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

Request Parameters section has a mistake when Lua is used as the documentation language #18

Open
rokf opened this issue May 6, 2023 · 1 comment

Comments

@rokf
Copy link

rokf commented May 6, 2023

The @params object is a concatenation of all the default loaded parameters listed above. URL parameters have the highest precedence, followed by body parameters, then query parameters. This means that an :id URL parameters will not be overwritten by an ?id= query parameter.

The @params here should probably be replaced with params or self.params.

Source: https://leafo.net/lapis/reference/actions.html

@rokf
Copy link
Author

rokf commented May 21, 2023

I've included the fix in leafo/lapis#769

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

No branches or pull requests

1 participant