-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Modernize some more examples #2447
Conversation
…le requires readthedocs]
Generated by 🚫 dangerJS |
@@ -179,11 +179,9 @@ class SteamCollectionSize extends BaseSteamAPI { | |||
return [ | |||
{ | |||
title: 'Steam Collection Files', | |||
exampleUrl: '180077636', | |||
pattern: ':id', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming we don't require a pattern if there is only 1 parameter,
Do you think it could still be worth keeping it though?
Edit: Never mind, I see above that its already defined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, it's that by default, an example inherits its pattern from the route. Since I've brought the names into alignment, it doesn't need to be specified again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah just saw that 😆
Thanks 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
👍
Ref #1961
No base URLs or server code was changed here, so we don't need to run service tests.