After you have created the content for the documentation of your resources using the REST Wizard, you can generate your documentation by doing the following:
Select JunosSpace > Generate REST Documentation.
On the dialog that displays, select the resource or resources for documentation in the Existing REST Resources column.
Click the > button to move the resources to the Resource To Document column.
Optionally, select the One page per resource? checkbox.
Select this option when you have services that have the same context root and service root and you want them to appear separately in the documentation. For example, if the services Job Management and Job Manager have the same context root and service root, they will display as separate entries in the table on the REST API Services page. For more information about context and service roots, see Resource Paths in the Application Developers Guide.
Click OK. When a message displays indicating that document generation has completed, click OK again.
A page displays with a UML diagram of your resource or resources:
Optionally, you can rearrange the components of the UML diagram.
View the documentation by doing the following steps:
Select Help > Help Contents from the Eclipse menu.
When Eclipse help opens, select Dynamic REST Application Guide in the navigation pane. (Note that if you have the documentation scope limited, you might not be able to see this top-level node in the navigation pane).
Select either of the following:
You can export your REST documentation as an archive or a plugin.
To export your documentation as an archive after you have generated the documentation:
Your documentation is exported as a .zip file.
To export your documentation as a plugin after you have generated the documentation:
Select JunosSpace > Export REST Documentation Plugin.
On the dialog, enter: