I am learning LoopBack (aka Strongloop). When I go to https://strongloop.com/ it tells me to install npm install -g apiconnect
. So, I'm learning LoopBack with the scaffolding from apic loopback
Once I get a starter project going with apic loopback
, and add a model with apic create --type model
, it looks like my definitions where my Swagger is defined is automatically updated (./definitions/server.yaml). As a result, I am able to explore those APIs when I run apic edit
.
However, when I edit a model to extend my API, as demonstrated in the LoopBack documentation (https://docs.strongloop.com/display/public/LB/Extend+your+API), I don't see the updated API documentation... but from the documentation that looks like the "Explorer" should pick up the new API endpoint.
What am I missing here? Is there a swagger command that I'm supposed to run when I create manual API extensions? Or perhaps it's some kind of magic comments in the code?
Bottom line: how do I get my loopback API customizations / extensions to show up in the Explorer when I'm using apic
put out by IBM? Do I have to use apic create --type api
? Is there a way to get the explorer to pick up my changes as I customize my API? Exactly how magical is this thing?