Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2328

Rest DSL - apiContextPath marked as error: cvc-complex-type.3.2.2: Attribute 'apiContextPath' is not allowed to appear in element 'restConfiguration'.

    XMLWordPrintable

Details

    • Hide
      1. New Project -> Maven Project -> Spring-boot-camel-xml-archetype 2.2.195-redhat-00000
      2. Delete default route
      3. Define Rest-DSL configuration: <restConfiguration enableCORS="true" component="servlet" apiContextPath="api-docs"/>
      Show
      New Project -> Maven Project -> Spring-boot-camel-xml-archetype 2.2.195-redhat-00000 Delete default route Define Rest-DSL configuration: <restConfiguration enableCORS="true" component="servlet" apiContextPath="api-docs"/>

    Description

      When defining a rest configuration to use rest-dsl, I want to define apiContextPath to enable swagger, using:
      <restConfiguration enableCORS="true" component="servlet" apiContextPath="api-docs"/>
      and an error appears: cvc-complex-type.3.2.2: Attribute 'apiContextPath' is not allowed to appear in element 'restConfiguration'.

      Attachments

        1. image-2017-03-19-01-08-28-849.png
          image-2017-03-19-01-08-28-849.png
          89 kB
        2. prueba.zip
          20 kB
        3. settings.xml
          10 kB

        Issue Links

          Activity

            People

              apupier@redhat.com Aurélien Pupier
              pszuster Pablo Szuster (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: