Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. - name: student-list
  2. in: query
  3. description: Id of the Student of the target NF
  4. content:
  5. application/json:
  6. schema:
  7. type: array
  8. items:
  9. $ref: 'TS29571_CommonData.yaml#/components/schemas/StudentId'
  10. minItems: 1
  11.  
  12. StudentId:
  13. type: object
  14. properties:
  15. class:
  16. type: string
  17. rollno:
  18. type: integer
  19.  
  20. @Override
  21. public String toString() {
  22. StringBuilder sb = new StringBuilder();
  23. sb.append("class StudentId {n");
  24. sb.append(" class: ").append(toIndentedString(mcc)).append("n");
  25. sb.append(" rollno: ").append(toIndentedString(mnc)).append("n");
  26. sb.append("}");
  27. return sb.toString();
  28. }
  29.  
  30. private String toIndentedString(Object o) {
  31. if (o == null) {
  32. return "null";
  33. }
  34. return o.toString().replace("n", "n ");
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement