diff --git a/backend/src/app/rpc/doc.clj b/backend/src/app/rpc/doc.clj index c797ffc1e..f543ac19b 100644 --- a/backend/src/app/rpc/doc.clj +++ b/backend/src/app/rpc/doc.clj @@ -61,7 +61,7 @@ :added (::added mdata) :changes (some->> (::changes mdata) (partition-all 2) (map vec)) :spec (fmt-spec mdata) - :entrypoint (str (cf/get :public-uri) "/api/rpc/commands/" (::sv/name mdata)) + :entrypoint (str (cf/get :public-uri) "/api/rpc/command/" (::sv/name mdata)) :params-schema-js (fmt-schema :js mdata ::sm/params) :result-schema-js (fmt-schema :js mdata ::sm/result) @@ -155,7 +155,7 @@ (map (partial gen-method-doc options)) (sort-by (juxt :module :name)) (map (fn [doc] - [(str/ffmt "/commands/%" (:name doc)) (:repr doc)])) + [(str/ffmt "/command/%" (:name doc)) (:repr doc)])) (into {})))] {:openapi "3.0.0" :info {:version (:main cf/version)}