Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7886

Remote OpenAPI Spec file results in empty package name

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Workaround Exists
    • Hide

      apply 

      kogito.sw.operationIdStrategy=function_name
      Show
      apply  kogito.sw.operationIdStrategy=function_name
    • ---
    • ---
    • 2022 Week 35-37 (from Aug 29)

    Description

      If trying to generate openapi speco for the following operation:

      "operation": "https://server.com/t/0b33b8d0/apis/registry/v2/ids/contentIds/1#jobTemplatesJobTemplatesLaunchCreate", 

      Results in package named "1" which is invalid and result in calling the OpenAPI Codegen extension with a package name of "org.kie.kogito.openapi." which leads to invalid package names in the generated files.  

      Attachments

        Activity

          People

            cnicolai@redhat.com Cristiano Nicolai
            cnicolai@redhat.com Cristiano Nicolai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: