Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3456

LRA OpenAPI Schema fails as misses references to API version header and parameter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.11.1.Final
    • 5.11.0.Final
    • LRA
    • None

      The LRA uses the OpenAPI (SmallRye OpenAPI dependency) annotations to define the Schema of the coordinator.

      In the current state the API definition fails to be parsed as there are missing definition for API version which is referenced in the `@APIResponses` tags.
      This omission was cause by fact we were changing the Coorindator class to extend directly from Application.

      Errors are like

      Semantic error at paths./lra-coordinator/lra-coordinator.get.parameters.1.$ref
      $refs must reference a valid location in the document
      Jump to line 26
      Semantic error at paths./lra-coordinator/lra-coordinator.get.responses.200.headers.Narayana-LRA-API-version.$ref
      $refs must reference a valid location in the document
      Jump to line 32
      ...
      

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: