mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-06 02:51:34 +00:00
Using Spring was hiding an loading error. When you start Rspec, Rails and its engines are not loaded yet. So our way to load the spec helper via `Rails.root` did not work when you ran specs on their own without loading Rails with Spring first.
Data Food Consortium API for the Open Food Network app (OFN DFC API)
This engine implements the Data Food Consortium specifications. It serves and reads semantic data encoded in JSON-LD.
The API is documented with Swagger at /api-docs. You can update these docs
with:
./script/rswag engines/dfc_provider
More documentation by the Data Food Consortium: