Description
Hi Team,
API creation fails with HTTP 500 without giving any informative error.
This happens due to creating APIs with existing name and existing context.
But error message is not clearly stating that.
Steps to reproduce:
Scenario 1
- Create an API with a name.
- Create an API with same name but with different context. API creation gives HTTP 500.
Scenario 2
- Create an API with a context.
- Create an API with same context but with different name. API creation gives HTTP 500.
Need to handle above two scenarios with proper error messages.