Commit d23883e2 authored by David Foucher's avatar David Foucher

Add Swagger link in the README

parent f715f1e1
Pipeline #1798 passed with stage
in 1 minute and 46 seconds
......@@ -21,6 +21,8 @@
## Run a simulation
Swagger API DOC : https://app.swaggerhub.com/apis/labonneformation/moteur-financement-formation
trefle simulate var=value var2=value2…
# Or from an LBF URL
trefle simulate --url=https://xxx?a=yyy
......@@ -33,6 +35,9 @@
# Trace the rules to see which condition passed or failed
trefle simulate var=value var2=value2… --trace
Exemple:
trefle simulate --context='{"beneficiaire":{"inscrit_pe":true,"age":40},"formation":{ "codes_financeur":[2],"region":27,"heures":4000}}' --trace
## Run the dev server
trefle serve
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment