Skip to content

Instantly share code, notes, and snippets.

@naturalwarren
Created May 13, 2018 19:48
Show Gist options
  • Save naturalwarren/3615d9502f87174f67014c736bb6bca9 to your computer and use it in GitHub Desktop.
Save naturalwarren/3615d9502f87174f67014c736bb6bca9 to your computer and use it in GitHub Desktop.
/**
* Indicates an endpoint wraps a response in a JSON Object.
* When deserializing the response we should only return
* what's inside the outer most object.
*/
@Retention(RUNTIME)
@JsonQualifier
@Target(FUNCTION, CLASS)
internal annotation class Enveloped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment