Page
Library
Module
Module type
Parameter
Class
Class type
Source
Openapi_router.Make
Sourcemodule Config : sig ... end
Specify Openapi contact metadata
Specify Openapi license metadata
val schema :
string ->
Openapi_router__.Json_schema.schema Openapi_router__.Json_schema.or_ref ->
t ->
t
Add a named component to an application spec
Add a named component to an application spec
Add a named component to an application spec
Add a named component to an application spec
val request_body :
string ->
Spec.request_body_object Openapi_router__.Json_schema.or_ref ->
t ->
t
Add a named component to an application spec
Add a named component to an application spec
val security_scheme :
string ->
Spec.security_scheme_object Openapi_router__.Json_schema.or_ref ->
t ->
t
Add a named component to an application spec
Add a named component to an application spec
Add a named component to an application spec
Return a JSON reference to a named component of a spec (Note: doesn't confirm that the component actually exists)
Return a JSON reference to a named component of a spec (Note: doesn't confirm that the component actually exists)
Return a JSON reference to a named component of a spec (Note: doesn't confirm that the component actually exists)
Return a JSON reference to a named component of a spec (Note: doesn't confirm that the component actually exists)
Return a JSON reference to a named component of a spec (Note: doesn't confirm that the component actually exists)
Return a JSON reference to a named component of a spec (Note: doesn't confirm that the component actually exists)
Return a JSON reference to a named component of a spec (Note: doesn't confirm that the component actually exists)
Return a JSON reference to a named component of a spec (Note: doesn't confirm that the component actually exists)
Return a JSON reference to a named component of a spec (Note: doesn't confirm that the component actually exists)
val get :
?tags:string list ->
?summary:string ->
?description:string ->
?external_docs:Spec.external_documentation_object ->
?operation_id:string ->
?parameters:Spec.parameter_object Openapi_router__.Json_schema.or_ref list ->
?request_body:Spec.request_body_object Openapi_router__.Json_schema.or_ref ->
?responses:Spec.responses_object ->
?callbacks:
(string * Spec.callback_object Openapi_router__.Json_schema.or_ref) list ->
?deprecated:bool ->
?security:Yojson.Safe.t ->
?servers:Spec.server_object list ->
string ->
Config.handler ->
t ->
t
val post :
?tags:string list ->
?summary:string ->
?description:string ->
?external_docs:Spec.external_documentation_object ->
?operation_id:string ->
?parameters:Spec.parameter_object Openapi_router__.Json_schema.or_ref list ->
?request_body:Spec.request_body_object Openapi_router__.Json_schema.or_ref ->
?responses:Spec.responses_object ->
?callbacks:
(string * Spec.callback_object Openapi_router__.Json_schema.or_ref) list ->
?deprecated:bool ->
?security:Yojson.Safe.t ->
?servers:Spec.server_object list ->
string ->
Config.handler ->
t ->
t
val delete :
?tags:string list ->
?summary:string ->
?description:string ->
?external_docs:Spec.external_documentation_object ->
?operation_id:string ->
?parameters:Spec.parameter_object Openapi_router__.Json_schema.or_ref list ->
?request_body:Spec.request_body_object Openapi_router__.Json_schema.or_ref ->
?responses:Spec.responses_object ->
?callbacks:
(string * Spec.callback_object Openapi_router__.Json_schema.or_ref) list ->
?deprecated:bool ->
?security:Yojson.Safe.t ->
?servers:Spec.server_object list ->
string ->
Config.handler ->
t ->
t
val put :
?tags:string list ->
?summary:string ->
?description:string ->
?external_docs:Spec.external_documentation_object ->
?operation_id:string ->
?parameters:Spec.parameter_object Openapi_router__.Json_schema.or_ref list ->
?request_body:Spec.request_body_object Openapi_router__.Json_schema.or_ref ->
?responses:Spec.responses_object ->
?callbacks:
(string * Spec.callback_object Openapi_router__.Json_schema.or_ref) list ->
?deprecated:bool ->
?security:Yojson.Safe.t ->
?servers:Spec.server_object list ->
string ->
Config.handler ->
t ->
t
val options :
?tags:string list ->
?summary:string ->
?description:string ->
?external_docs:Spec.external_documentation_object ->
?operation_id:string ->
?parameters:Spec.parameter_object Openapi_router__.Json_schema.or_ref list ->
?request_body:Spec.request_body_object Openapi_router__.Json_schema.or_ref ->
?responses:Spec.responses_object ->
?callbacks:
(string * Spec.callback_object Openapi_router__.Json_schema.or_ref) list ->
?deprecated:bool ->
?security:Yojson.Safe.t ->
?servers:Spec.server_object list ->
string ->
Config.handler ->
t ->
t
val head :
?tags:string list ->
?summary:string ->
?description:string ->
?external_docs:Spec.external_documentation_object ->
?operation_id:string ->
?parameters:Spec.parameter_object Openapi_router__.Json_schema.or_ref list ->
?request_body:Spec.request_body_object Openapi_router__.Json_schema.or_ref ->
?responses:Spec.responses_object ->
?callbacks:
(string * Spec.callback_object Openapi_router__.Json_schema.or_ref) list ->
?deprecated:bool ->
?security:Yojson.Safe.t ->
?servers:Spec.server_object list ->
string ->
Config.handler ->
t ->
t
val patch :
?tags:string list ->
?summary:string ->
?description:string ->
?external_docs:Spec.external_documentation_object ->
?operation_id:string ->
?parameters:Spec.parameter_object Openapi_router__.Json_schema.or_ref list ->
?request_body:Spec.request_body_object Openapi_router__.Json_schema.or_ref ->
?responses:Spec.responses_object ->
?callbacks:
(string * Spec.callback_object Openapi_router__.Json_schema.or_ref) list ->
?deprecated:bool ->
?security:Yojson.Safe.t ->
?servers:Spec.server_object list ->
string ->
Config.handler ->
t ->
t