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

Create request without root key #164

Open
vladx1900 opened this issue Apr 11, 2019 · 1 comment
Open

Create request without root key #164

vladx1900 opened this issue Apr 11, 2019 · 1 comment

Comments

@vladx1900
Copy link

How can I define the operation's parameters when there is no root key?

I'm trying to create a request for an endpoint which accepts the following request body:

[
    {"Text":"I would really like to drive your car around the block a few times."}
]
@tlorens
Copy link

tlorens commented Apr 30, 2019

Copy the jsonLocation class. You can remove the 'root key' from the jsonData variable. Be sure to set the location to your new class.

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

No branches or pull requests

2 participants