<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Change the base server url in OpenAPI generated code at runtime]]></title><description><![CDATA[<p dir="auto">Pretty much what's in the title. I'm trying to use the <a href="https://doc.qt.io/qt-6/qtopenapi-index.html" target="_blank" rel="noopener noreferrer nofollow ugc">new OpenAPI</a> client generator from Qt, the API I'm trying to use is not tied to a particular server so I need to be able to set the server base url at runtime. I didn't find a way set it from generated openapi client (tested using Qt 6.11.2). the API documentation is very sparse maybe I missed something.</p>
<p dir="auto">A possible workaround I can think of would be to patch the openapi yaml to set a server with a template variable for the hostname.</p>
]]></description><link>https://forum.qt.io/topic/165113/change-the-base-server-url-in-openapi-generated-code-at-runtime</link><generator>RSS for Node</generator><lastBuildDate>Sun, 27 Sep 2026 02:11:24 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/165113.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Sep 2026 08:59:01 GMT</pubDate><ttl>60</ttl></channel></rss>