From 96cc7ec436087378af4df3579b2320e428f09ea7 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Tue, 6 Sep 2022 13:10:05 +0200 Subject: [PATCH] (bug) openAPI documentation syntax not interpreted --- config/initializers/apipie.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/initializers/apipie.rb b/config/initializers/apipie.rb index 20da686ae..4fca9d8d0 100644 --- a/config/initializers/apipie.rb +++ b/config/initializers/apipie.rb @@ -25,9 +25,9 @@ Apipie.configure do |config| Depending on your client, you may have to set header Accept: application/json for every request, otherwise some clients may request *html* by default which will result in error. - = Amounts - --- - Everywhere in the OpenAPI amounts are reported in cents. For exemple, if you get { "amount" : 1000 }, - from the OpenAPI, this means that the price is 10 € (or whatever your currency is). + = Amounts + --- + Everywhere in the OpenAPI amounts are reported in cents. For exemple, if you get { "amount" : 1000 }, + from the OpenAPI, this means that the price is 10 € (or whatever your currency is). RDOC end