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

Validate dynamic response on creation #13

Open
JakubTesarek opened this issue Apr 25, 2021 · 0 comments
Open

Validate dynamic response on creation #13

JakubTesarek opened this issue Apr 25, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@JakubTesarek
Copy link
Collaborator

Trickster allows creation of dynamic Response with invalid jsonpath:

{"$ref": "this is totally invalid"}

This then causes exception when the Response is being generated.

Todo: Validate that all jsonpath queries are valid at the time of creation. Return HTTP 400 when not.

@JakubTesarek JakubTesarek added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Apr 25, 2021
@JakubTesarek JakubTesarek self-assigned this Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant