    :operationId
    :requestBody])
 
-(defn transform-link-object [parameter-name parent-key data link-object-spec spec-type]
+(defn transform-link-object [link-key parent-key data link-object-spec spec-type]
   (if-let [ref (:$ref link-object-spec)]
     (-> data
         (update-in [:references] conj {:source-path parent-key :target-path ref}))
-    (let [key (str parent-key "/" parameter-name)
+    (let [key (str parent-key "/" (name link-key))
           link-parameters (:parameters link-object-spec)
           link-parameters-md (common/render-resource-strings "templates/link-parameters.tpl" link-parameters (keys link-parameters))
           link-object-spec (assoc link-object-spec :linkParameters link-parameters-md)]
       (-> data
-          (update-in [:swagger-object key] assoc :name parameter-name)
+          (update-in [:swagger-object key] assoc :name (name link-key))
           (update-in [:swagger-object key] assoc :type spec-type)
           (update-in [:swagger-object key] assoc :parent parent-key)
           (update-in [:swagger-object key] assoc :description (common/render-resource-strings "templates/link-object.tpl" link-object-spec link-table-fields))

        )))


(def server-variable-fields [:enum :default])

(defn transform-server-variable [var-name var-spec]

   :operationId
   :deprecated])

(defn transform-operation-object [operation-key parent-key data operation-object-spec spec-type]
  (let [key (str parent-key "/" (name operation-key))
        security-requirements (:security operation-object-spec)
        operation-object-spec (assoc operation-object-spec :securityMd (render-security-requirements-object security-requirements))
        operation-object-spec (assoc operation-object-spec :hasExternalDocs (some? (:externalDocs operation-object-spec)))]
    (-> data
        (update-in [:swagger-object key] assoc :name (name operation-key))
        (update-in [:swagger-object key] assoc :type spec-type)
        (update-in [:swagger-object key] assoc :parent parent-key)
        (update-in [:swagger-object key] assoc :description (common/render-resource-strings "templates/operation-object.tpl" operation-object-spec operation-fields))
        (transform-objects transform-parameter-object (:parameters operation-object-spec) key :OpenAPI-Parameter)
