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

Ignore whitespace when parsing examples #278

Closed
wants to merge 2 commits into from

Commits on Nov 10, 2022

  1. Ignore whitespace when parsing examples

    Updates examples parser to ignore whitespace. If a YAML document is
    provided that contains only whitespace then it is skipped, but does not
    cause an error. This is in alignment with the API types parser.
    
    Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
    hasheddan committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    b1f4a83 View commit details
    Browse the repository at this point in the history
  2. Annotate examples parsing errors if ReadCloser supports

    Updates the examples parser to annotate the error if the ReadCloser
    supports doing so.
    
    Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
    hasheddan committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    911868a View commit details
    Browse the repository at this point in the history