Gen Toolset CALL REST crashes with no "servers" in spec file
search cancel

Gen Toolset CALL REST crashes with no "servers" in spec file

book

Article ID: 371022

calendar_today

Updated On:

Products

Gen - Workstation Toolset Gen

Issue/Introduction

When trying to add a CALL REST statement in the Gen 8.6 Toolset and opening an OpenAPI specification file which contains no "servers" section the Toolset will crash instead of issuing a message.

Resolution

Gen Engineering plan to fix the Toolset to respond more gracefully with a sensible message if the "servers" section is missing.
Normally a "servers" section would be present and so this is an unusual occurrence.
If the default / is present i.e.
servers:
  - url: /

then the Toolset issues the message: "Base path is invalid. Please see Help for configuration options"

Additional Information