API spec + implementation created during the ACB live stream for June 2023
During the live stream, I was following these docs:
The recorded video can be found here:
- I created a
waffle house
folder, which is where the API specification is located (inwaffle-house.raml
). - After scaffolding the API spec, the
wafflehouseapi
folder was created with the API implementation. - When there were changes done to the API specification, we could re-scaffold the implementation by opening the command palette (
cmd+shift+P
for Mac) and selectedMuleSoft: Re-scaffold this local API
. - We created User Snippets by clicking the
+
button in the canvas and selectingUser Snippets
. - Click on the
+
button from this window to create themule-xml.json
file. I added this file as part of this repo, but in reality this file will be located under a different folder. - We created our snippets to try them out. After creating them, you're supposed to click on the refresh button from the snippets window, but this didn't work for us immediately. We had to refresh the whole browser window to see the changes.
That's all!