The first thing we need to do is add an Option object to contain the information of an option.
With this declaration, I also expose APIs for the API Option Service with the request URL starting with "/option".
As you can see, here I have used the WebClient object to connect to the Composite Option Service and call the API add a new option of this service with the "/option/add" URI.
At this point, we have completed the API to add a new option for API Option Service. Let's try it out!