(get-manifest)
Return all manifests which defined in plugins.
Return all manifests which defined in plugins.
(get-owner-from-headers headers)
The first user is treated as the owner.
The first user is treated as the owner.
(get-routes)
Return all routes which defined in plugins.
Return all routes which defined in plugins.
(make-routes plugin-name plugin-type & forms)
Make several forms into routes for plugin.
Examples: (make-routes "corrplot" :ChartPlugin {:method-type :get :endpoint "report" :summary "" :query-schema {} :path-schema {} :response-schema {} :handler (fn [context] context)} {:method-type :post :endpoint "report" :summary "" :body-schema {} :response-schema {} :handler (fn [context] context)} {:method-type :put :endpoint "report" :summary "" :body-schema {} :path-schema {} :response-schema {} :handler (fn [context] context)} {:method-type :get :endpoint "report" :summary "" :path-schema {} :response-schema {} :handler (fn [context] context)})
Make several forms into routes for plugin. Examples: (make-routes "corrplot" :ChartPlugin {:method-type :get :endpoint "report" :summary "" :query-schema {} :path-schema {} :response-schema {} :handler (fn [context] context)} {:method-type :post :endpoint "report" :summary "" :body-schema {} :response-schema {} :handler (fn [context] context)} {:method-type :put :endpoint "report" :summary "" :body-schema {} :path-schema {} :response-schema {} :handler (fn [context] context)} {:method-type :get :endpoint "report" :summary "" :path-schema {} :response-schema {} :handler (fn [context] context)})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close