apigee2openapi
apigee2openapi copied to clipboard
capture parameters
anil, just tried today - this is great! thanks
can we capture the parameters as well from the proxy/policy definition -- we could potentially get all params used within the proxy to populate the swagger, so smartdocs will be really useful.
for eg, Authorization headers, query params on which we do checks, apikeys params etc.
Great suggestion @mukundha , We do capture dynamic parameters but only limited to path. For example a path with dynamic value mentioned in brackets {} is captured & used in swagger spec generation.
Are you saying parse all policies & look for headers, query params, api keys etc ? I think it's a great idea.
Merged code supports this now; look for ExtractVariables policies in request flow and add header, query and form params to specs. #9