Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15514

camel-rest-openapi component automatic operationId generation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.x
    • 3.6.0
    • camel-rest-openapi
    • None
    • Unknown

    Description

      Upon using camel-rest-openapi component in a route, I have discovered that if an operationId is not defined in OpenApi specification the operation can not be called.

      Since operationId is an optional parameter as defined by OpenApi 3 standard, I think that improving the component to be able to auto generate missing operationIds from operation path and http method would benefit users of this component.

      As an example, you can find one published OpenApi specification that does not define operationIds: https://app.swaggerhub.com/apis/liferayinc/commerce-admin-catalog/v1.0#/info

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Sonicsupremacy Aljaž Plohl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: