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

OpenAPI YAML without Info version causes the generation of client-project only

    Details

      Description

      Executing REST Builder with an OpenAPI yaml file where the "version" required field of the Info object is missing reports "BUILD SUCCESSFUL" but only generates the client project.

      Steps to reproduce it:

      1. Create a new module with the attached YAML files (modifying configuration if needed).
      2. Execute
        gw buildRest

       

      Result: Task finished successfully but only generates client project

      Expected Result: Invalid OpenAPI YAML file (as the info version is a required field in the OpenAPI spec)

        Attachments

        1. rest-config.yaml
          0.3 kB
          Javier de Arcos Velilla
        2. rest-openapi.yaml
          4 kB
          Javier de Arcos Velilla

          Activity

            People

            Assignee:
            manoel.cyreno Manoel Cyreno
            Reporter:
            javier.dearcos Javier de Arcos Velilla
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Javier de Arcos Velilla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 18 weeks, 3 days ago

                Packages

                Version Package
                7.1.10 DXP FP18
                7.1.10.5 SP5
                7.1.X
                7.2.10 DXP FP7
                7.2.X
                7.3.3 CE GA4
                7.3.10 DXP GA1
                Master