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

Render Named names as "internal route ID" in swagger UI. #3319

Merged
merged 12 commits into from
Jun 1, 2023
Merged

Conversation

fisx
Copy link
Contributor

@fisx fisx commented May 26, 2023

This should make jumping from swagger docs into the source code by grepping for the ID much easier.

2023-05-30-222505_1600x900_scrot
2023-05-30-222522_1600x900_scrot

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@CLAassistant
Copy link

CLAassistant commented May 26, 2023

CLA assistant check
All committers have signed the CLA.

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label May 26, 2023
Comment on lines 51 to 52
& allOperations . summary %~ (<> Just dscr)
& allOperations . description %~ (Just (dscr <> "\n\n") <>)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure we want both, but i can't decide which one to prefer?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep the one in the description, not the summary

@fisx fisx requested a review from smatting May 31, 2023 08:11
@fisx
Copy link
Contributor Author

fisx commented May 31, 2023

i also thought maybe we can make it a rule that the internal IDs are strings that can be fed to grep verbatim.

and maybe document this in docs.wire.com somewhere, and link to those docs from the "internal route ID" label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants