code: func SupportsDryRun(doc *openapi_v2.Document, gvk schema.GroupVersionKind) (bool, error) {
  	for _, path := range doc.GetPaths().GetPath() {
  		// Is this describing the gvk we're looking for?
  		if !hasGVKExtension(path.GetValue().GetPatch().GetVendorExtension(), gvk) {
  			continue
  		}
  		for _, param := range path.GetValue().GetPatch().GetParameters() {
  			if param.GetParameter().GetNonBodyParameter().GetQueryParameterSubSchema().GetName() == "dryRun" {
  				return true, nil
  			}
  		}
  		return false, nil
  	}
  
  	return false, errors.New("couldn't find GVK in openapi")
  }
docs: // SupportsDryRun is a method that let's us look in the OpenAPI if the
  // specific group-version-kind supports the dryRun query parameter for
  // the PATCH end-point.