code: func HasJSONBody(body *raml.Bodies) bool {
  	return body.ApplicationJSON != nil && (len(body.ApplicationJSON.Properties) > 0 || IsJSONString(body.ApplicationJSON.TypeString()))
  }
docs: // HasJSONBody checks if this raml.Bodies has JSON body that need to be generated it's struct.
  // rules:
  //	- not nil application/json
  //	- has properties or has tipe in JSON string