From ddca55a1d4a9ce651556e3948eec8871730a6018 Mon Sep 17 00:00:00 2001 From: Automatic build Date: Tue, 24 Mar 2020 10:29:50 +0000 Subject: [PATCH] Build book from commit f538208fd010427f6c34a9c068461bee1513afd1 [skip ci] --- advanced/composing_routers.html | 2 +- advanced/configuring_routers.html | 2 +- advanced/dev_workflow.html | 2 +- advanced/different_routers.html | 2 +- advanced/route_validation.html | 2 +- advanced/shared_routes.html | 2 +- basics/error_messages.html | 2 +- basics/name_based_routing.html | 2 +- basics/path_based_routing.html | 2 +- basics/route_conflicts.html | 2 +- basics/route_data.html | 2 +- basics/route_data_validation.html | 2 +- basics/route_syntax.html | 2 +- basics/router.html | 2 +- coercion/clojure_spec_coercion.html | 2 +- coercion/coercion.html | 2 +- coercion/data_spec_coercion.html | 2 +- coercion/schema_coercion.html | 2 +- development.html | 2 +- faq.html | 2 +- frontend/basics.html | 2 +- frontend/browser.html | 2 +- frontend/controllers.html | 2 +- http/default_interceptors.html | 2 +- http/interceptors.html | 2 +- http/pedestal.html | 2 +- http/sieppari.html | 2 +- http/transforming_interceptor_chain.html | 2 +- index.html | 2 +- performance.html | 2 +- ring/RESTful_form_methods.html | 2 +- ring/coercion.html | 2 +- ring/compiling_middleware.html | 2 +- ring/content_negotiation.html | 2 +- ring/data_driven_middleware.html | 2 +- ring/default_handler.html | 2 +- ring/default_middleware.html | 2 +- ring/dynamic_extensions.html | 2 +- ring/exceptions.html | 2 +- ring/middleware_registry.html | 2 +- ring/reverse_routing.html | 2 +- ring/ring.html | 2 +- ring/route_data_validation.html | 2 +- ring/slash_handler.html | 2 +- ring/static.html | 2 +- ring/swagger.html | 5 ++++- ring/transforming_middleware_chain.html | 2 +- search_index.json | 2 +- 48 files changed, 51 insertions(+), 48 deletions(-) diff --git a/advanced/composing_routers.html b/advanced/composing_routers.html index cb6dc4ad..3e959e84 100644 --- a/advanced/composing_routers.html +++ b/advanced/composing_routers.html @@ -1189,7 +1189,7 @@ diff --git a/advanced/configuring_routers.html b/advanced/configuring_routers.html index 85573452..01b6a75e 100644 --- a/advanced/configuring_routers.html +++ b/advanced/configuring_routers.html @@ -903,7 +903,7 @@ diff --git a/advanced/dev_workflow.html b/advanced/dev_workflow.html index bfd6d67b..bf4b13c9 100644 --- a/advanced/dev_workflow.html +++ b/advanced/dev_workflow.html @@ -954,7 +954,7 @@ diff --git a/advanced/different_routers.html b/advanced/different_routers.html index 7c166428..d6738a47 100644 --- a/advanced/different_routers.html +++ b/advanced/different_routers.html @@ -902,7 +902,7 @@ diff --git a/advanced/route_validation.html b/advanced/route_validation.html index 856ca1b9..bb73e5bc 100644 --- a/advanced/route_validation.html +++ b/advanced/route_validation.html @@ -990,7 +990,7 @@ diff --git a/advanced/shared_routes.html b/advanced/shared_routes.html index 6a01b489..3844b169 100644 --- a/advanced/shared_routes.html +++ b/advanced/shared_routes.html @@ -911,7 +911,7 @@ diff --git a/basics/error_messages.html b/basics/error_messages.html index 267c81e6..86967107 100644 --- a/basics/error_messages.html +++ b/basics/error_messages.html @@ -878,7 +878,7 @@ diff --git a/basics/name_based_routing.html b/basics/name_based_routing.html index 301e37e5..abf10664 100644 --- a/basics/name_based_routing.html +++ b/basics/name_based_routing.html @@ -913,7 +913,7 @@ diff --git a/basics/path_based_routing.html b/basics/path_based_routing.html index b3ec0f38..a8010c07 100644 --- a/basics/path_based_routing.html +++ b/basics/path_based_routing.html @@ -871,7 +871,7 @@ diff --git a/basics/route_conflicts.html b/basics/route_conflicts.html index 5b83d81b..cbf5c4b0 100644 --- a/basics/route_conflicts.html +++ b/basics/route_conflicts.html @@ -927,7 +927,7 @@ diff --git a/basics/route_data.html b/basics/route_data.html index 9e9a3585..aefd3213 100644 --- a/basics/route_data.html +++ b/basics/route_data.html @@ -965,7 +965,7 @@ diff --git a/basics/route_data_validation.html b/basics/route_data_validation.html index 1526397c..4ecb2be6 100644 --- a/basics/route_data_validation.html +++ b/basics/route_data_validation.html @@ -942,7 +942,7 @@ diff --git a/basics/route_syntax.html b/basics/route_syntax.html index 2eb7ea92..91e651f1 100644 --- a/basics/route_syntax.html +++ b/basics/route_syntax.html @@ -949,7 +949,7 @@ diff --git a/basics/router.html b/basics/router.html index 30d6e770..be69acd2 100644 --- a/basics/router.html +++ b/basics/router.html @@ -925,7 +925,7 @@ diff --git a/coercion/clojure_spec_coercion.html b/coercion/clojure_spec_coercion.html index 6c68570c..7b044546 100644 --- a/coercion/clojure_spec_coercion.html +++ b/coercion/clojure_spec_coercion.html @@ -936,7 +936,7 @@ diff --git a/coercion/coercion.html b/coercion/coercion.html index 69d19145..55fa20a6 100644 --- a/coercion/coercion.html +++ b/coercion/coercion.html @@ -979,7 +979,7 @@ diff --git a/coercion/data_spec_coercion.html b/coercion/data_spec_coercion.html index f048a7fa..a7904530 100644 --- a/coercion/data_spec_coercion.html +++ b/coercion/data_spec_coercion.html @@ -877,7 +877,7 @@ diff --git a/coercion/schema_coercion.html b/coercion/schema_coercion.html index 110af071..f4931d2e 100644 --- a/coercion/schema_coercion.html +++ b/coercion/schema_coercion.html @@ -878,7 +878,7 @@ diff --git a/development.html b/development.html index d099e8b9..a2e90b45 100644 --- a/development.html +++ b/development.html @@ -869,7 +869,7 @@ lein test diff --git a/faq.html b/faq.html index 6ec104b1..ada07ebf 100644 --- a/faq.html +++ b/faq.html @@ -949,7 +949,7 @@ diff --git a/frontend/basics.html b/frontend/basics.html index d81eecfd..f1033bd3 100644 --- a/frontend/basics.html +++ b/frontend/basics.html @@ -866,7 +866,7 @@ React breaking due to errors.

diff --git a/frontend/browser.html b/frontend/browser.html index 30c3a87a..d6cc510f 100644 --- a/frontend/browser.html +++ b/frontend/browser.html @@ -889,7 +889,7 @@ go back or forwards, but calling History API functions directly should work:

diff --git a/frontend/controllers.html b/frontend/controllers.html index eab56dee..4860534e 100644 --- a/frontend/controllers.html +++ b/frontend/controllers.html @@ -946,7 +946,7 @@ missing resources.

diff --git a/http/default_interceptors.html b/http/default_interceptors.html index 1baae2d9..858a2063 100644 --- a/http/default_interceptors.html +++ b/http/default_interceptors.html @@ -868,7 +868,7 @@ diff --git a/http/interceptors.html b/http/interceptors.html index 067b6cf4..b0ee1499 100644 --- a/http/interceptors.html +++ b/http/interceptors.html @@ -896,7 +896,7 @@ diff --git a/http/pedestal.html b/http/pedestal.html index 7fba056e..48d3f030 100644 --- a/http/pedestal.html +++ b/http/pedestal.html @@ -907,7 +907,7 @@ diff --git a/http/sieppari.html b/http/sieppari.html index 1404053f..b470553c 100644 --- a/http/sieppari.html +++ b/http/sieppari.html @@ -908,7 +908,7 @@ diff --git a/http/transforming_interceptor_chain.html b/http/transforming_interceptor_chain.html index d27fd2a0..26b47802 100644 --- a/http/transforming_interceptor_chain.html +++ b/http/transforming_interceptor_chain.html @@ -907,7 +907,7 @@ diff --git a/index.html b/index.html index 1a0fa3aa..1186550d 100644 --- a/index.html +++ b/index.html @@ -972,7 +972,7 @@ diff --git a/performance.html b/performance.html index 82686574..a2839ff0 100644 --- a/performance.html +++ b/performance.html @@ -955,7 +955,7 @@ diff --git a/ring/RESTful_form_methods.html b/ring/RESTful_form_methods.html index eb27f273..d112cd67 100644 --- a/ring/RESTful_form_methods.html +++ b/ring/RESTful_form_methods.html @@ -873,7 +873,7 @@ This is so that our middleware is applied before reitit matches the request with diff --git a/ring/coercion.html b/ring/coercion.html index cc1f6b76..e410c497 100644 --- a/ring/coercion.html +++ b/ring/coercion.html @@ -1074,7 +1074,7 @@ diff --git a/ring/compiling_middleware.html b/ring/compiling_middleware.html index 09c2e744..1feecf05 100644 --- a/ring/compiling_middleware.html +++ b/ring/compiling_middleware.html @@ -936,7 +936,7 @@ diff --git a/ring/content_negotiation.html b/ring/content_negotiation.html index 2620b909..c7e1e8de 100644 --- a/ring/content_negotiation.html +++ b/ring/content_negotiation.html @@ -959,7 +959,7 @@ Server: Jetty(9.2.21.v20170120) diff --git a/ring/data_driven_middleware.html b/ring/data_driven_middleware.html index fbb18511..d6e8a6dd 100644 --- a/ring/data_driven_middleware.html +++ b/ring/data_driven_middleware.html @@ -934,7 +934,7 @@ diff --git a/ring/default_handler.html b/ring/default_handler.html index c8ab5e27..a29146b8 100644 --- a/ring/default_handler.html +++ b/ring/default_handler.html @@ -912,7 +912,7 @@ diff --git a/ring/default_middleware.html b/ring/default_middleware.html index 463453af..1702bfb2 100644 --- a/ring/default_middleware.html +++ b/ring/default_middleware.html @@ -891,7 +891,7 @@ diff --git a/ring/dynamic_extensions.html b/ring/dynamic_extensions.html index ea207890..d3a1c4dc 100644 --- a/ring/dynamic_extensions.html +++ b/ring/dynamic_extensions.html @@ -881,7 +881,7 @@ diff --git a/ring/exceptions.html b/ring/exceptions.html index 7475a848..fd70019c 100644 --- a/ring/exceptions.html +++ b/ring/exceptions.html @@ -960,7 +960,7 @@ diff --git a/ring/middleware_registry.html b/ring/middleware_registry.html index 0089db98..2da5893f 100644 --- a/ring/middleware_registry.html +++ b/ring/middleware_registry.html @@ -892,7 +892,7 @@ diff --git a/ring/reverse_routing.html b/ring/reverse_routing.html index ac734c42..d9745605 100644 --- a/ring/reverse_routing.html +++ b/ring/reverse_routing.html @@ -877,7 +877,7 @@ diff --git a/ring/ring.html b/ring/ring.html index b41f2505..c1af48d4 100644 --- a/ring/ring.html +++ b/ring/ring.html @@ -1021,7 +1021,7 @@ diff --git a/ring/route_data_validation.html b/ring/route_data_validation.html index 6da92b5d..85ee54d0 100644 --- a/ring/route_data_validation.html +++ b/ring/route_data_validation.html @@ -1089,7 +1089,7 @@ diff --git a/ring/slash_handler.html b/ring/slash_handler.html index 3f53132c..91af124d 100644 --- a/ring/slash_handler.html +++ b/ring/slash_handler.html @@ -915,7 +915,7 @@ diff --git a/ring/static.html b/ring/static.html index 3c940a31..c569d945 100644 --- a/ring/static.html +++ b/ring/static.html @@ -917,7 +917,7 @@ diff --git a/ring/swagger.html b/ring/swagger.html index c491fcfd..0de58a8f 100644 --- a/ring/swagger.html +++ b/ring/swagger.html @@ -902,6 +902,9 @@

Webjars also hosts a version of the swagger-ui.

NOTE: Currently, swagger-ui module is just for Clojure. ClojureScript-support welcome as a PR!

NOTE: If you want to use swagger-ui 2.x you can do so by explicitly downgrading metosin/ring-swagger-ui to 2.2.10.

+

NOTE: If you use swagger-ui 3.x, you need to include :responses for Swagger-UI +to display the response when trying out endpoints. You can define :responses {200 {:schema s/Any}} +at the top-level to show responses for all endpoints.

Examples

Simple example