Renaming Swagger Files
- Procedure
- Select the swagger file to rename. Right-click and select the
Rename option.
- Change the swagger file name in the
Rename Resource dialog.
The new file name should have the
<new_file>.json
format. - Optional. To see the changes that are performed, click the
Preview button.
Important: It is recommended to keep all the checkboxes in the Rename Resource dialog selected.
- Click OK.
Note: If you rename an external Swagger file that is copied into an application module, the rename is successful. But, if you rename the default Swagger file for a newly created bottom-up REST service, from
<Module_Name>.Resource-Resource.json
to <Module_Name>.Resource-<New_File_Name>.json
, the default Swagger file remains unchanged, and a new file <Module_Name>.Resource-<New_File_Name>.json
is created in the same folder.