I defined one dynamic parameter in RAML:
/borrowers:
/{lastName:
displayName: Last Name
uriParameters:
lastName:
type: string
example: "Green"
How to define more uri parameters?
If I change RAML what is the best way to update api project in anypoint studio?
Thanks,
Polina
So, how do you want to design your uriParam ? you need specify your url how you need to implement your multiple uriParas ...
An example will be :-
/borrowers/{lastName}/{firstName}:
displayName: lastName
uriParameters:
lastName:
displayName: lastName
type: string
example: "Green"
firstName:
displayName: firstName
type: string
example: "Red"
get:
description: Test method
** *"If I change RAML what is the best way to update api project in anypoint studio? "***
To answer your next question, you need to select your RAML file in your Anypiint Studio under the `src/main/api` path, right click on it, then go to the mule in the menu and select Generate flows from Rest api as follows:-
It will re-generate the flows again