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

Remote OpenAPI Spec file results in empty package name

XMLWordPrintable

    • 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)

      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.  

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

                Created:
                Updated:
                Resolved: