You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the parser will append a * to any paths to which the api consumer can append additional path parameter. This wildcard appears in the generated open api specification and therefore, will be displayed to consumers in the Marketplace if that API is displayed there. Customer would like a less obtrusive wild card to be used instead.
Feature request
The following (or similar) would be required:
Parsing logic should make the wildcard character configurable. We should still allow use of the wildcard for backwards compatibility so perhaps need an environment variable to control that. If populated, use what the environment variable says, otherwise use the * wildcard.
For any paths that are extensible (not all of them are), we can include a custom header. Naming of this header should be configurable (see above) and the documentation should list it as optional.
OData Routing policy would need to be updated to look for the header in the open API documentation for that route and if found, allow the user to call any path as long as it matches the prefix configured. We will also keep the existing logic with the * wildcard character.
Please Note: I think based on some comments on the OData Routing policy that it may have been envisaged that a route could be configured as follows:
GET /v7/trippin/People*/AddressInfo*
This would provide flexibility in that you could govern such a path without having to statically list all the combinations and permutations of a such a path. Using a header instead would be less flexible.
The text was updated successfully, but these errors were encountered:
Problem description
At the moment, the parser will append a * to any paths to which the api consumer can append additional path parameter. This wildcard appears in the generated open api specification and therefore, will be displayed to consumers in the Marketplace if that API is displayed there. Customer would like a less obtrusive wild card to be used instead.
Feature request
The following (or similar) would be required:
Please Note: I think based on some comments on the OData Routing policy that it may have been envisaged that a route could be configured as follows:
GET /v7/trippin/People*/AddressInfo*
This would provide flexibility in that you could govern such a path without having to statically list all the combinations and permutations of a such a path. Using a header instead would be less flexible.
The text was updated successfully, but these errors were encountered: