From the version 1.4.0 of the API Manager, it is possible for users to edit the API Template definition so that By editing the API Template definition, you can change the synapse configuration of the all APIs gets created as the users wishthat are created. To edit the template of the APIs being generated follow the two simple steps below.
...
, navigate to
...
<APIM_HOME>/repository/resources/api_templates
...
directory in your local API Manager setup and change the necessary template
...
XML file.
...
Lets take an example of editing For example, to change the resource content of the API. For doing this you need to edit the content of the 'APIs, edit api_templates_resource.xml
' file. Once done, all APIs that are being created will have the new resource definition within the API.Note: If this is being done on a distributed setup (where the This changes the resource definition of all created APIs.
If you are using a distributed API Manager setup (i.e., Publisher, Store, Gateway and Key Manager components are running on separate jvmsJVMs), you need to edit the template on the Publisher node.