Important: Before running this generator, you must create an application using the application generator. Then you must run the command from the root directory of the application.
$ apic loopback:refresh
Creates or re-creates product and an API definition files from the LoopBack application models.
The generator creates or re-creates two files in the
<project-name>.yaml- API definition in OpenAPI 2.0 (Swagger) format.
<project-name>-product.yaml- Product definition file in YAML format. See the API Connect documentation for an example.
<project-name> is the name of the project (app).