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

Improve support for arrays in body #217

Closed
mzielinski opened this issue Apr 10, 2016 · 2 comments
Closed

Improve support for arrays in body #217

mzielinski opened this issue Apr 10, 2016 · 2 comments
Labels

Comments

@mzielinski
Copy link
Contributor

Assume that we have below response from server

{
   "exp": 2459982033,
   "user_name": "admin",
   "authorities": [
       "ROLE_ADMIN"
   ],
   "client_id": "ui",
   "scope": [
       "read",
       "write"
   ]
}

I would like to check wheather scope array is not empty. I do not care about specific values. Currently I am not able to do it. For sure we should improve support for arrays in body, maybe this task will be a good place to think about it.

@marcingrzejszczak
Copy link
Contributor

Right now you can do it with a method on the server side.

@marcingrzejszczak
Copy link
Contributor

This issue was moved to spring-cloud/spring-cloud-contract#24

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

No branches or pull requests

2 participants