Renaming Swagger Files

    Procedure
  1. Select the swagger file to rename. Right-click and select the Rename option.

  2. Change the swagger file name in the Rename Resource dialog.
    The new file name should have the <new_file>.json format.

  3. 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.

  4. Click OK.
  5. 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.