Follow-up from "Add Parameter type linter"

Overview

This issue arose out of a discussion in !209996 (merged) where it was decided that all todos related to the new API/ParamaterType rubocop linter would be resolved in a follow up MR.

The following discussion from !209996 (merged) should be addressed:

  • @cfeick started a discussion: (+2 comments)

    question: Just wanted to confirm. Does the correction of these violations just mean that parameter definition will be little redundant? i.e. repeating type: String vs with(type: String).

    Given relatively small violations compared to the usage of parameters, WDYT about our team simply resolving these in follow-up MR? I'm wondering it that would be easier than trying to coordinate w/ endpoint owners here.

Implementation Plan

  • refactor any with block parameter type definitions with explicit individual param type definitions
  • resolve any other todos in .rubocop_todo/api/parameter_type.yml