Is there a tool to generate API proxy code based on pre-define proxy Template & Swagger file?

Not applicable

The requirement is that I have pre-defined policies which need to be applied in pre-flow & post flow of all API proxies e.g: Spike Arrest, quota, Raise Fault, Logging , Custom Analytics.

Also the proxies need to be developed against swagger file provided by team.

Is there any tool available which combines these two tasks in one go and creates proxy in edge?

Solved Solved
1 1 70
1 ACCEPTED SOLUTION

HI @Vivek Yadav

There is no such tool as per your ask. You can do it with different tools:

1. You can use openapi2apigee to create the proxy bundle. This will create a skeleton proxy.

2. For the policies, you can use Proxy Dependency Maven Plugin

Probably you can enhance a script to do both and if that works, post it on the community for others to use 🙂

View solution in original post

1 REPLY 1

HI @Vivek Yadav

There is no such tool as per your ask. You can do it with different tools:

1. You can use openapi2apigee to create the proxy bundle. This will create a skeleton proxy.

2. For the policies, you can use Proxy Dependency Maven Plugin

Probably you can enhance a script to do both and if that works, post it on the community for others to use 🙂