Skip to content

A dynamic response at root #542

Answered by daddykotex
Quafadas asked this question in Q&A
Discussion options

You must be logged in to vote

You can do something like that:

structure GreetingOutput {
  @required
  @httpPayload
  payload: ReverseLookupMap
}

map ReverseLookupMap {
    key: String,
    value: Something
}
list Something {
    member: String    
}

Where GreetingOutput is the output of your operation

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Quafadas
Comment options

Answer selected by Quafadas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants