Skip to content

Instantly share code, notes, and snippets.

@orubel
Last active September 5, 2021 20:52
Show Gist options
  • Save orubel/6d529d39133e39b3f28d7cf1b9240236 to your computer and use it in GitHub Desktop.
Save orubel/6d529d39133e39b3f28d7cf1b9240236 to your computer and use it in GitHub Desktop.
"show": {
"METHOD":"GET",
"DESCRIPTION":"Get Person by ID",
"ROLES":{
"BATCH":["ROLE_ADMIN"],
"HOOK":["ROLE_ADMIN"]
},
"REQUEST": {
"permitAll":[],
"ROLE_ADMIN":["id"]
},
"RESPONSE": {
"permitAll":["username","email"],
"ROLE_ADMIN":["id","version","enabled","accountExpired"]
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment