You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
Code you have issues with
After going through the documentation, I tried using operation.request().payloads().get(0).mediaType().value() but that returns application/json which isn't what I want, I want the type inside the application/json i.e. bu.BlockCodeUpdatesRequestType. Same is the case with the examples, I am unable to read those, the payloads().get(0).examples() comes up as empty for some reason and I don't know to access these. Getting just the path in the examples is enough.
Additional context
The variables like rtbu are RAML library files defined under uses:
The text was updated successfully, but these errors were encountered:
Library version used
0.5.0
Language library used with
Java
Describe the issue
I am unable to find a method to access the type of request defined in the raml file
Input you have issues with
Below is the relavent section of RAML file
Code you have issues with
After going through the documentation, I tried using
operation.request().payloads().get(0).mediaType().value()
but that returnsapplication/json
which isn't what I want, I want the type inside theapplication/json
i.e.bu.BlockCodeUpdatesRequestType
. Same is the case with the examples, I am unable to read those, thepayloads().get(0).examples()
comes up as empty for some reason and I don't know to access these. Getting just the path in the examples is enough.Additional context
The variables like
rt
bu
are RAML library files defined underuses:
The text was updated successfully, but these errors were encountered: