https://kotlinlang.org logo
#http4k
Title
# http4k
v

Vojtěch Knyttl

03/24/2021, 2:50 PM
Spring allows to add a server section in the OpenApi output:

https://user-images.githubusercontent.com/401107/112330347-3e2deb80-8cb8-11eb-85e0-d9ed8922165b.png

https://user-images.githubusercontent.com/401107/112330408-4ede6180-8cb8-11eb-8f33-5726b30090f0.png

This allows calling the endpoint on given server and also the path is visible. Is this feasible with http4k?
s

s4nchez

03/24/2021, 3:16 PM
I believe there's currently a proposal to add that the contract API (or at least to the OpenApi Renderer): https://github.com/http4k/http4k/pull/510
v

Vojtěch Knyttl

03/24/2021, 3:17 PM
ah, okay... this would be helpful
3 Views