- route:
    from:
      uri: "file://examples/"
      parameters:
        noop: true
      steps:
        - convertBodyTo:
            type: "java.lang.String"
            charset: "UTF8"
        - setHeader:
            name: "petId"
            expression:
              simple: "${file:onlyname.noext}"
        - setHeader:
            name: "Content-Type"
            expression:
              constant: "application/json"
        - to:
            uri: "log:info"
            parameters:
              showHeaders: true
        - to:
            uri: "kamelet:rest-openapi-sink"
            parameters:
              specification: '{{openapi.specification.url}}'
              operation: addPet
