Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-125866

Property for an array of external schema is not generated correctly

Details

    Description

      Add an external reference in an array to any Schema (for example Fragment) like this:

      segments:
          items:
              $ref: "../../headless-admin-user/headless-admin-user-impl/rest-openapi.yaml#Segment"
          type: array
      

      And run buildR.

      The property will be transformed do

      rest-openapi.yaml#Segment:
          items:
              $ref: "../../headless-admin-user/headless-admin-user-impl/rest-openapi.yaml#Segment"
          type: array
      

      and the generation/build will fail

      Attachments

        Activity

          People

            team-headless Product Team Headless
            jurgen.kappler Jürgen Kappler
            Kiyoshi Lee Kiyoshi Lee
            Jürgen Kappler Jürgen Kappler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 37 weeks, 3 days ago

              Packages

                Version Package
                7.0.0 DXP FP97
                7.0.X
                7.1.10 DXP FP21
                7.1.X
                7.2.10 DXP FP11
                7.2.10.4 DXP SP4
                7.2.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                7.3.X
                7.4.13 DXP GA1
                Master