-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 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
-
Component/s: REST Builder
-
Branch Version/s:7.2.x, 7.1.x
-
Backported to Branch:Committed
-
Fix Priority:2
-
Git Pull Request:
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:
- Create a new module with the attached YAML files (modifying configuration if needed).
- 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)