OneDrive / apidoctor

Application for validating API documentation and generating test cases
Other
41 stars 27 forks source link

Fix for setting IsComposable to true #149

Closed andrueastman closed 2 years ago

andrueastman commented 2 years ago

This PR addresses a bug where the IODataNavigable.cs would indescriminately overrride the IsComposable property for functions to lead to incorrect transformed metadata.

This PR applies a change to apply this condition if the Function exists in a part of the URL that is not the last segment meaning it would have to be composable for the URL to continue being built.