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

Clarify controller example #405

Merged
merged 1 commit into from
Dec 20, 2021
Merged

Clarify controller example #405

merged 1 commit into from
Dec 20, 2021

Conversation

tfwright
Copy link
Contributor

I think the intention was to interpolate the inspected controller name but the code block shows the original source which makes it, IMO, unnecessarily confusing as an example, since if you copy this code it fails to compile, but if you omit that line it silently fails to load the docs, which was frustrating as a beginner.

I think the intention was to interpolate the inspected controller name but the code block shows the original source which makes it, IMO, unnecessarily confusing as an example, since if you copy this code it fails to compile, but if you omit that line it silently fails to load the docs, which was frustrating as a beginner.
@mbuhot
Copy link
Collaborator

mbuhot commented Dec 20, 2021

👍 Agreed, unnecessarily clever example there :)

@mbuhot mbuhot merged commit 14b0238 into open-api-spex:master Dec 20, 2021
lucacorti pushed a commit to lucacorti/open_api_spex that referenced this pull request Feb 13, 2022
Replace dynamic module name interpolation with module name constant in example docs
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