Guest User

Untitled

a guest
Apr 22nd, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. {
  2. "Response":{
  3. "required":[
  4. "Response"
  5. ],
  6. "type":"object",
  7. "properties":{
  8. "success":{
  9. "type":"boolean"
  10. },
  11. "errorProperties":{
  12. "type":"array",
  13. "items":{
  14. "type":"string"
  15. }
  16. },
  17. "errorKey":{
  18. "enum":[
  19. "ErrorCode1",
  20. "ErrorCode2"
  21. ],
  22. "type":"string",
  23. "readOnly":true
  24. }
  25. }
  26. },
  27. "Response[SomeDTO]":{
  28. "type":"object",
  29. "allOf":[
  30. {
  31. "$ref":"#/definitions/Response"
  32. }
  33. ],
  34. "properties":{
  35. }
  36. }
  37. }
Add Comment
Please, Sign In to add comment