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

Comments

Projects
None yet
3 participants
@vdusauto

vdusauto commented Feb 23, 2018

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 from Access api version number in Expression language to [gateway] Access API version number in Expression language Apr 26, 2018

brasseld added a commit to gravitee-io/gravitee-gateway that referenced this issue Nov 14, 2018

@brasseld brasseld self-assigned this Nov 14, 2018

@brasseld brasseld added this to the 1.21.0 milestone Nov 14, 2018

NicolasGeraud added a commit to gravitee-io/gravitee-gateway that referenced this issue Nov 16, 2018

NicolasGeraud added a commit to gravitee-io/gravitee-gateway that referenced this issue Nov 16, 2018

NicolasGeraud added a commit to gravitee-io/gravitee-gateway 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