Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gateway] Access API version number in Expression language #1102

Closed
vdusauto opened this issue Feb 23, 2018 · 0 comments
Closed

[gateway] Access API version number in Expression language #1102

vdusauto opened this issue Feb 23, 2018 · 0 comments
Assignees
Milestone

Comments

@vdusauto
Copy link

It would be a good enhancement to be able to access metadata of an API like its version (defined in the portal) during calls made to the gateway, via in expression language for example.

This could be used to return in response headers or in a /version subpath to provide insight to consumers of the API.

This could be accessible from within a MOCK or Groovy policy even using a syntax like {#api.version} or api.version.

@brasseld brasseld changed the title Access api version number in Expression language [gateway] Access API version number in Expression language Apr 26, 2018
@brasseld brasseld self-assigned this Nov 14, 2018
@brasseld brasseld added this to the 1.21.0 milestone Nov 14, 2018
NicolasGeraud pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Nov 16, 2018
NicolasGeraud pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
API Management
Awaiting triage
Development

No branches or pull requests

3 participants