get:
  summary: Fetch single RfQ parent
  description: |
    Endpoint for fetching a single RfQ parent.
  tags:
    - RfQ parents
  parameters:
    - name: rfqParentId
      in: path
      required: true
      schema:
        type: string
        format: ObjectId
  responses:
    200:
      description: A single RfQ parent
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RfqParent'
    default:
      description: Unexpected error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'

put:
  summary: Update RfQ parent
  parameters:
    - name: rfqParentId
      in: path
      required: true
      schema:
        type: string
        format: ObjectId
  requestBody:
    content:
      application/json:
        schema:
          $ref: "#/components/schemas/RfqParent"
    required: true
  tags:
    - RfQ parents
  responses:
    "200":
      description: Updated RfQ parent object
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/RfqParent"
    "404":
      description: RfQ parent not found
    "405":
      description: This RfQ parent already has existing RfQs.
    default:
      description: Unexpected error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'

get:
  summary: Fetch single RfQ parent
  description: |
    Endpoint for fetching a single RfQ parent.
  tags:
    - RfQ parents
  parameters:
    - name: rfqParentId
      in: path
      required: true
      schema:
        type: string
        format: ObjectId
  responses:
    200:
      description: A single RfQ parent
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RfqParent'
    default:
      description: Unexpected error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'

put:
  summary: Update RfQ parent
  parameters:
    - name: rfqParentId
      in: path
      required: true
      schema:
        type: string
        format: ObjectId
  requestBody:
    content:
      application/json:
        schema:
          $ref: "#/components/schemas/RfqParent"
    required: true
  tags:
    - RfQ parents
  responses:
    "200":
      description: Updated RfQ parent object
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/RfqParent"
    "404":
      description: RfQ parent not found
    "405":
      description: This property cannot be changed after RfQ parent has been sent.
    default:
      description: Unexpected error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'

Modify 405 message for rfq parent update
Modify 405 message for rfq parent update
