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

Explicitly include the default Twilio mediaTypeExtension #23

Merged
merged 1 commit into from Mar 4, 2019

Conversation

pimterry
Copy link
Contributor

This parameter is marked required, which isn't really correct - it's entirely optional, and defaults to XML.

Unfortunately this parameter must be marked required anyway because it's a path parameter, which is a bit awkward. This change marks that extension as the default, which at least makes clearer imo - it's required that somebody provides this, but the API will do it for you if you don't.

This one is a little debatable. It's a valid spec though, and it is very convenient for my case to be able to say "this param is required and wasn't unspecified, but it's ok because it's defaulted to X anyway"

Actual change looks long, but it's really a single trivial find & replace.

@pimterry
Copy link
Contributor Author

Hi @MikeRalphson, any thoughts on this one? No urgent hurry, just checking it hasn't been missed.

@MikeRalphson MikeRalphson merged commit 72dd50f into APIs-guru:master Mar 4, 2019
@MikeRalphson
Copy link
Collaborator

Apologies, yes, I forgot about this after seeing the initial notification. Will update the main directory shortly.

@pimterry
Copy link
Contributor Author

pimterry commented Mar 4, 2019

Awesome, thanks!

@pimterry pimterry deleted the twilio-extension branch March 4, 2019 15:43
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.

None yet

2 participants