Working with REST files in Guidewire Studio
Only place REST configuration files in the following locations in Guidewire Studio:
These Studio folders contain the following types of files:
| Studio location | File types |
|---|---|
| Swagger and JSON schema files, mapping files, and similar items. | |
| Gosu classes that perform the actual API work, API handler classes, for example. Place your files in their own namespace so as to keep these files separate from Guidewire files. |
Use a unique name space
Guidewire recommends that you place any REST-related files that you create in their own name space. Using your company name in the file path segregates and isolates any files that you add to the PolicyCenter installation.
Thus, for files that you add, the apis directory structure underneath
the Studio Integrations node looks similar to the
following:
/apis
/mycompanyPlace the Gosu resources or authorization files that you create in a subdirectory underneath gsrc that uses your company name in the file path, for example:
