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

            Assignee:
            team-headless Product Team Headless Experience
            Reporter:
            jurgen.kappler Jürgen Kappler
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Jürgen Kappler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              35 weeks, 5 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
                Master