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

Enable JsonPath for variable assignment in OpenAPI files #514

Open
2 tasks
jdiazgon opened this issue Mar 14, 2018 · 2 comments
Open
2 tasks

Enable JsonPath for variable assignment in OpenAPI files #514

jdiazgon opened this issue Mar 14, 2018 · 2 comments

Comments

@jdiazgon
Copy link
Member

Related to issue #489 and Pull Request #496 we would like to improve the variable assignment for the OpenAPI plug-in.

Currently, it is possible to assign extension variables to a variableAssignment, thus that we can get variables from the info part of the file and the extensions of each entity like shown on the image below:

489explanation

If we implemented the possibility of using JsonPath we would be able to get attributes from any part of the OpenAPI file and not only on the info and extensions of each entity.

Tasks to do:

  • Change the extension variableAssigmnent on the Matcher of the OpenAPI plug-in.
  • Add the logic for using JsonPath in the InputReader.
@maybeec
Copy link
Member

maybeec commented Mar 14, 2018

This should not replace the extension variableAssignment. It can be more seen as an additional variableAssignment type which is more powerfull with the cost of a more complex syntax of the value.

@github-actions
Copy link

Stale topic. Please negotiate closing or discussing the relevance of this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants