Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • From the version 1.4.0 of the API Manager, it is possible for users to edit the API Template definition so that the synapse configuration of the APIs gets created as the users wish. To edit the template of the APIs being generated follow the two simple steps below.

     

    In your local API manager setup, navigate to "<APIM_HOME>/repository/resources/api_templates" directory

    Edit the necessary template xml file.

    Lets take an example of editing the resource content of the API. For doing this you need to edit the content of the '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 Publisher, Store, Gateway and Key Manager are running on separate jvms), you need to edit the template on the Publisher node.