Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 1, 2024
1 parent 35dcf92 commit fc1ca4f
Show file tree
Hide file tree
Showing 76 changed files with 197 additions and 197 deletions.
68 changes: 34 additions & 34 deletions ecosystem/http4k-core/index.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/changelog/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ecosystem/http4k/concepts/http/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ecosystem/http4k/concepts/lens/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ecosystem/http4k/concepts/server-sent-events/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ecosystem/http4k/concepts/serverless/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ecosystem/http4k/concepts/websockets/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ecosystem/http4k/contributing/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/approvaltests/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/aws/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/azure/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/chaos/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/clients/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions ecosystem/http4k/reference/cloud_events/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/cloud_native/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/config/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/contracts/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/core/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/dataframe/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/digest/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/failsafe/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/graphql/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/hamkrest/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/htmx/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/json/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/jsonrpc/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/kotest/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/micrometer/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/multipart/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/oauth/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/opentelemetry/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/playwright/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/resilience4j/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/serverless/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/servers/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/servicevirtualisation/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/strikt/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/templating/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ecosystem/http4k/reference/testing/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ecosystem/http4k/reference/tracerbullet/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/webdriver/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/webhooks/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/xml/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ecosystem/http4k/reference/yaml/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion howto/arrange_filters_into_stacks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
of the filters is important in order that we have the information at the point in the stack when we need it. For example - if we want to record all HTTP traffic, we much ensure that we
do this after any exception handling has occurred (so that we can record the 5XX properly). Experience has shown that there is a general formula to be used when constructing stacks.</p><h3 id=serverside>Serverside</h3><p>A typical stack looks like:</p><ol><li>Debugging/Tracing &lt;&ndash; to ensure that we see all traffic</li><li>Reporting & metrics capture &lt;&ndash; to record accurately what we sent back</li><li>Catch unexpected exceptions &lt;&ndash; to ensure that all responses are handled by the application instead of the runtime</li><li>Catching expected exceptions &lt;&ndash; for instance LensFailures which are converted to 400s</li><li>Routing &lt;&ndash; if we want to route traffic based on the request (eg. <code>routes()</code>)</li><li>HttpHandlers &lt;&ndash; to process the traffic</li></ol><h3 id=clientside>Clientside</h3><p>The client-side is similar, but simpler:</p><ol><li>Debugging/Tracing &lt;&ndash; to ensure that we see all traffic</li><li>Reporting & metrics capture &lt;&ndash; to record accurately what we sent back</li><li>Routing &lt;&ndash; if we want to route traffic based on the request (eg. <code>reverseProxy()</code>)</li><li>Http client &lt;&ndash; to process the traffic</li></ol><h3 id=gradle-setup>Gradle setup</h3><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-kotlin data-lang=kotlin><span style=display:flex><span>dependencies {
</span></span><span style=display:flex><span>
implementation(platform("org.http4k:http4k-bom:5.33.0.1"))
implementation(platform("org.http4k:http4k-bom:5.33.1.0"))

</span></span><span style=display:flex><span> implementation(<span style=color:#e6db74>&#34;org.http4k:http4k-core&#34;</span>)
</span></span><span style=display:flex><span>}
Expand Down
2 changes: 1 addition & 1 deletion howto/attach_context_to_a_request/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
Regardless of which of the above mechanisms are used, an instance of the <code>ServerFilters.InitialiseRequestContext</code> Filter must wrap the HttpHandler(s) to activate
the shared bag of state for each request, and to remove the state after the request is complete.</p><h3 id=gradle-setup>Gradle setup</h3><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-kotlin data-lang=kotlin><span style=display:flex><span>dependencies {
</span></span><span style=display:flex><span>
implementation(platform("org.http4k:http4k-bom:5.33.0.1"))
implementation(platform("org.http4k:http4k-bom:5.33.1.0"))

</span></span><span style=display:flex><span> implementation(<span style=color:#e6db74>&#34;org.http4k:http4k-core&#34;</span>)
</span></span><span style=display:flex><span>}
Expand Down
2 changes: 1 addition & 1 deletion howto/client_as_a_function/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</a><button class=navbar-toggler type=button data-bs-toggle=collapse data-bs-target=#navbarContent aria-controls=navbarContent aria-expanded=false aria-label="Toggle navigation">
<span class=navbar-toggler-icon></span></button><div class="collapse navbar-collapse" id=navbarContent><ul class="navbar-nav ms-auto mb-2 mb-xl-0"><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>About</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/overview/>Overview</a></li><li><a class=dropdown-item href=/news/>News</a></li><li><a class=dropdown-item href=/showcase/>Showcase</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Learn</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/learn/>About the docs</a></li><li><a class=dropdown-item href=/quickstart/>Quickstart</a></li><li><a class=dropdown-item href=/tutorial/>Tutorials</a></li><li><a class=dropdown-item href=/howto/>How-to guides</a></li><li><a class=dropdown-item href=/faq/>FAQ</a></li><li><a class=dropdown-item href=/performance/>Performance</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Ecosystem</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/ecosystem/>Overview</a></li><li><a class=dropdown-item href=/ecosystem/http4k/>http4k Core</a></li><li><a class=dropdown-item href=/ecosystem/connect/>http4k Connect</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Solutions</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/solutions/>Overview</a></li><li><a class=dropdown-item href=/lts-support/>LTS Support</a></li><li><a class=dropdown-item href=/consulting/>Consulting</a></li><li><a class=dropdown-item href=/training/>Developer Training</a></li><li><a class=dropdown-item href=http://http4k.slack.com/>LTS Slack</a></li><li><a class=dropdown-item href=/security/>Security Advisories</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Community</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/community/>Our Community of Contributors</a></li><li><a class=dropdown-item href=https://kotlinlang.slack.com/archives/C5AL3AKUY>Community Slack</a></li><li><a class=dropdown-item href=/code-of-conduct/>Code of Conduct</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Toolbox</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=https://toolbox.http4k.org/>Web</a></li><li><a class=dropdown-item href=https://plugins.jetbrains.com/plugin/25243-http4k-toolbox>IntelliJ</a></li><li><a class=dropdown-item href=https://toolbox.http4k.org/>CLI</a></li></ul></li><li id=searchBox class="nav-item searchBox align-content-center"></li></ul></div></div></nav></header><div class=layout><main class=page-content><header><h1>Client as a function</h1></header><article><div class=justify-content-end><span class="badge text-bg-secondary" style=display:inline>http4k Core</span></div><div class=mt-3><p>This example demonstrates using http4k as a client, to consume HTTP services. A client is just another HttpHandler.</p><h3 id=gradle-setup>Gradle setup</h3><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-kotlin data-lang=kotlin><span style=display:flex><span>dependencies {
</span></span><span style=display:flex><span>
implementation(platform("org.http4k:http4k-bom:5.33.0.1"))
implementation(platform("org.http4k:http4k-bom:5.33.1.0"))

</span></span><span style=display:flex><span> implementation(<span style=color:#e6db74>&#34;org.http4k:http4k-core&#34;</span>)
</span></span><span style=display:flex><span>}
Expand Down
2 changes: 1 addition & 1 deletion howto/configure_an_oauth_server/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</a><button class=navbar-toggler type=button data-bs-toggle=collapse data-bs-target=#navbarContent aria-controls=navbarContent aria-expanded=false aria-label="Toggle navigation">
<span class=navbar-toggler-icon></span></button><div class="collapse navbar-collapse" id=navbarContent><ul class="navbar-nav ms-auto mb-2 mb-xl-0"><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>About</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/overview/>Overview</a></li><li><a class=dropdown-item href=/news/>News</a></li><li><a class=dropdown-item href=/showcase/>Showcase</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Learn</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/learn/>About the docs</a></li><li><a class=dropdown-item href=/quickstart/>Quickstart</a></li><li><a class=dropdown-item href=/tutorial/>Tutorials</a></li><li><a class=dropdown-item href=/howto/>How-to guides</a></li><li><a class=dropdown-item href=/faq/>FAQ</a></li><li><a class=dropdown-item href=/performance/>Performance</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Ecosystem</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/ecosystem/>Overview</a></li><li><a class=dropdown-item href=/ecosystem/http4k/>http4k Core</a></li><li><a class=dropdown-item href=/ecosystem/connect/>http4k Connect</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Solutions</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/solutions/>Overview</a></li><li><a class=dropdown-item href=/lts-support/>LTS Support</a></li><li><a class=dropdown-item href=/consulting/>Consulting</a></li><li><a class=dropdown-item href=/training/>Developer Training</a></li><li><a class=dropdown-item href=http://http4k.slack.com/>LTS Slack</a></li><li><a class=dropdown-item href=/security/>Security Advisories</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Community</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/community/>Our Community of Contributors</a></li><li><a class=dropdown-item href=https://kotlinlang.slack.com/archives/C5AL3AKUY>Community Slack</a></li><li><a class=dropdown-item href=/code-of-conduct/>Code of Conduct</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Toolbox</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=https://toolbox.http4k.org/>Web</a></li><li><a class=dropdown-item href=https://plugins.jetbrains.com/plugin/25243-http4k-toolbox>IntelliJ</a></li><li><a class=dropdown-item href=https://toolbox.http4k.org/>CLI</a></li></ul></li><li id=searchBox class="nav-item searchBox align-content-center"></li></ul></div></div></nav></header><div class=layout><main class=page-content><header><h1>Configure an OAuth_Server</h1></header><article><div class=justify-content-end><span class="badge text-bg-secondary" style=display:inline>http4k Core</span></div><div class=mt-3><h3 id=gradle-setup>Gradle setup</h3><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-kotlin data-lang=kotlin><span style=display:flex><span>dependencies {
</span></span><span style=display:flex><span>
implementation(platform("org.http4k:http4k-bom:5.33.0.1"))
implementation(platform("org.http4k:http4k-bom:5.33.1.0"))

</span></span><span style=display:flex><span> implementation(<span style=color:#e6db74>&#34;org.http4k:http4k-core&#34;</span>)
</span></span><span style=display:flex><span> implementation(<span style=color:#e6db74>&#34;org.http4k:http4k-security-oauth&#34;</span>)
Expand Down
2 changes: 1 addition & 1 deletion howto/create_a_custom_json_marshaller/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</a><button class=navbar-toggler type=button data-bs-toggle=collapse data-bs-target=#navbarContent aria-controls=navbarContent aria-expanded=false aria-label="Toggle navigation">
<span class=navbar-toggler-icon></span></button><div class="collapse navbar-collapse" id=navbarContent><ul class="navbar-nav ms-auto mb-2 mb-xl-0"><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>About</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/overview/>Overview</a></li><li><a class=dropdown-item href=/news/>News</a></li><li><a class=dropdown-item href=/showcase/>Showcase</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Learn</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/learn/>About the docs</a></li><li><a class=dropdown-item href=/quickstart/>Quickstart</a></li><li><a class=dropdown-item href=/tutorial/>Tutorials</a></li><li><a class=dropdown-item href=/howto/>How-to guides</a></li><li><a class=dropdown-item href=/faq/>FAQ</a></li><li><a class=dropdown-item href=/performance/>Performance</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Ecosystem</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/ecosystem/>Overview</a></li><li><a class=dropdown-item href=/ecosystem/http4k/>http4k Core</a></li><li><a class=dropdown-item href=/ecosystem/connect/>http4k Connect</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Solutions</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/solutions/>Overview</a></li><li><a class=dropdown-item href=/lts-support/>LTS Support</a></li><li><a class=dropdown-item href=/consulting/>Consulting</a></li><li><a class=dropdown-item href=/training/>Developer Training</a></li><li><a class=dropdown-item href=http://http4k.slack.com/>LTS Slack</a></li><li><a class=dropdown-item href=/security/>Security Advisories</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Community</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=/community/>Our Community of Contributors</a></li><li><a class=dropdown-item href=https://kotlinlang.slack.com/archives/C5AL3AKUY>Community Slack</a></li><li><a class=dropdown-item href=/code-of-conduct/>Code of Conduct</a></li></ul></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle text-white px-3" id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false>Toolbox</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=https://toolbox.http4k.org/>Web</a></li><li><a class=dropdown-item href=https://plugins.jetbrains.com/plugin/25243-http4k-toolbox>IntelliJ</a></li><li><a class=dropdown-item href=https://toolbox.http4k.org/>CLI</a></li></ul></li><li id=searchBox class="nav-item searchBox align-content-center"></li></ul></div></div></nav></header><div class=layout><main class=page-content><header><h1>Create a custom JSON marshaller</h1></header><article><div class=justify-content-end><span class="badge text-bg-secondary" style=display:inline>http4k Core</span></div><div class=mt-3><h3 id=gradle-setup>Gradle setup</h3><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-kotlin data-lang=kotlin><span style=display:flex><span>dependencies {
</span></span><span style=display:flex><span>
implementation(platform("org.http4k:http4k-bom:5.33.0.1"))
implementation(platform("org.http4k:http4k-bom:5.33.1.0"))

</span></span><span style=display:flex><span> implementation(<span style=color:#e6db74>&#34;org.http4k:http4k-core&#34;</span>)
</span></span><span style=display:flex><span> implementation(<span style=color:#e6db74>&#34;org.http4k:http4k-format-jackson&#34;</span>)
Expand Down
4 changes: 2 additions & 2 deletions howto/create_a_swagger_ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
</span></span></code></pre></div><h2 id=build-the-ui>Build the UI</h2><p>The <code>http4-contract</code> module includes functions to configure and serve Swagger UI, Redoc, or both.
These &ldquo;lite&rdquo; UIs are thin; meaning most of the assets are pulled from an external Public CDN.</p><h3 id=installation-gradle>Installation (Gradle)</h3><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-kotlin data-lang=kotlin><span style=display:flex><span>dependencies {
</span></span><span style=display:flex><span>
implementation(platform("org.http4k:http4k-bom:5.33.0.1"))
implementation(platform("org.http4k:http4k-bom:5.33.1.0"))

</span></span><span style=display:flex><span> implementation(<span style=color:#e6db74>&#34;org.http4k:http4k-contract&#34;</span>)
</span></span><span style=display:flex><span>}
Expand Down Expand Up @@ -157,7 +157,7 @@
</span></span></code></pre></div><h2 id=bundle-the-ui-with-webjars>Bundle the UI with Webjars</h2><p>The &ldquo;lite&rdquo; UIs included in the <code>http4k-contract</code> module are great for serverless APIs, where binary size is a major concern.
For more control over the assets, http4k has optional modules to bundle the assets into your application.</p><h3 id=installation-gradle-1>Installation (Gradle)</h3><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-kotlin data-lang=kotlin><span style=display:flex><span>dependencies {
</span></span><span style=display:flex><span>
implementation(platform("org.http4k:http4k-bom:5.33.0.1"))
implementation(platform("org.http4k:http4k-bom:5.33.1.0"))

</span></span><span style=display:flex><span> implementation(<span style=color:#e6db74>&#34;org.http4k:http4k-contract-ui-swagger&#34;</span>)
</span></span><span style=display:flex><span> implementation(<span style=color:#e6db74>&#34;org.http4k:http4k-contract-ui-redoc&#34;</span>)
Expand Down
Loading

0 comments on commit fc1ca4f

Please sign in to comment.