IBM / cloudant-java-sdk

Cloudant SDK for Java
Apache License 2.0
22 stars 17 forks source link

fix: add missing operation names to path validator #351

Closed tomblench closed 2 years ago

tomblench commented 2 years ago

PR summary

add missing operation names to path validator

Note: An existing issue is required before opening a PR.

PR Checklist

Please make sure that your PR fulfills the following requirements:

PR Type

What is the current behavior?

Not all operations have paths validated

What is the new behavior?

Validate paths additionally on

getDocumentAsMixed getDocumentAsRelated getDocumentAsStream

Does this PR introduce a breaking change?

migration path: any applications which use special paths for the above operations should use the correct operation, eg one of the *AllDocs* methods in the case of the _all_docs path.

Other information