Closed onetom closed 2 years ago
Hello,
Thanks for reporting this, it does indeed seem to be a big, I'll look into it.
Cheers
I'm not sure how to automatically link it to this issue, but I've opened a draft PR: https://github.com/oliyh/martian/pull/113 Not tests yet and only 1-level of indirection is resolved. Next feature would be to merge the route-level params into the method-level params.
I've pushed 0.1.21-SNAPSHOT
with this feature, if you could test and let me know that would be very helpful, thanks.
Given the following schema excerpt (taken from https://raw.githubusercontent.com/XeroAPI/Xero-OpenAPI/master/xero_accounting.yaml):
When I look at the handlers compiled from it with
I get the following API definition:
I was expecting the
:xero-tenant-id
parameter to be handled, but it's missing from the:query-schema
,:parameter-aliases
and[:openapi-definition :parameters]
, so it's simply omitted from the response:returns
and the
:xero-tenant-id
is nowhere to be seen.