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

Remove generation of code to handle optional query parameters #671

Merged
merged 1 commit into from Jul 25, 2022

Commits on Jul 12, 2022

  1. Remove generation of code to handle optional query parameters

    As highlighted in deepmap#658, in the case that a query parameter is optional,
    and is not JSON, a passthrough type or a styled parameter, we are
    rendering an empty method.
    
    To simplify our generated code, we can only generate it as and when it's
    required.
    
    To make this more readable, we can indent this new optional block in the
    template.
    
    Closes deepmap#658.
    Jamie Tanna committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    f5a7825 View commit details
    Browse the repository at this point in the history