<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:fh="http://purl.org/syndication/history/1.0" xmlns:nimpress="https://github.com/nimling/nimpress">
  <channel>
    <title>Changelog</title>
    <link>https://developer.samna.io/tools/nimo/changelog</link>
    <description>Samna developer documentation</description>
    <atom:link href="https://developer.samna.io/tools/nimo/changelog/rss.xml" rel="self" type="application/rss+xml"/>
    <lastBuildDate>Wed, 25 Nov 2026 00:00:00 GMT</lastBuildDate>
    <ttl>1440</ttl>
    <sy:updatePeriod>weekly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <nimpress:releaseCadence>0</nimpress:releaseCadence>
    <nimpress:latestVersion>1.0.28</nimpress:latestVersion>
    <nimpress:releaseCount>2</nimpress:releaseCount>
    <item>
      <title>v1.0.28 Token request without an audience</title>
      <link>https://developer.samna.io/tools/nimo/changelog#v1.0.28</link>
      <guid isPermaLink="true">https://developer.samna.io/tools/nimo/changelog#v1.0.28</guid>
      <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
      <description>The generated Postman collection and hurl archive no longer add an audience to the token request.</description>
      <content:encoded><![CDATA[<p>Version 1.0.27 added an audience variable to the token request of the generated client collections. A specification states no audience, so the generated files no longer carry one.</p>
<h2 id="token-request" tabindex="-1"><a class="header-anchor" href="#token-request"><span>Token request</span></a></h2>
<p>The token request of an OAuth2 client credentials flow sends the grant type, the client id, the client secret and the scopes of the flow, and nothing else. The <code>audience</code> variable is gone from <code>variables.env</code> and from the Postman collection.</p>
]]></content:encoded>
    </item>
    <item>
      <title>v1.0.26 Client collections from a specification</title>
      <link>https://developer.samna.io/tools/nimo/changelog#v1.0.26</link>
      <guid isPermaLink="true">https://developer.samna.io/tools/nimo/changelog#v1.0.26</guid>
      <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
      <description>Converting a specification can now also write a Postman collection and a hurl archive with realistic request bodies.</description>
      <content:encoded><![CDATA[<p>One conversion now hands the readers of an API ready made requests for the two clients they reach for first.</p>
<h2 id="postman-collection" tabindex="-1"><a class="header-anchor" href="#postman-collection"><span>Postman collection</span></a></h2>
<p><code>convert --postman-output &lt;dir&gt;</code> writes <code>postman.json</code>, a Postman v2.1 collection with one folder per tag and one request per operation. The server becomes the <code>baseUrl</code> variable, path parameters become path variables filled from their examples, and optional query parameters are included but switched off.</p>
<h2 id="hurl-archive" tabindex="-1"><a class="header-anchor" href="#hurl-archive"><span>Hurl archive</span></a></h2>
<p><code>convert --hurl-output &lt;dir&gt;</code> writes <code>hurl.zip</code> holding <code>api.hurl</code>, one entry per operation, and <code>variables.env</code> for <code>hurl --variables-file</code>. Each entry expects the first <code>2xx</code> status the operation documents.</p>
<h2 id="request-bodies" tabindex="-1"><a class="header-anchor" href="#request-bodies"><span>Request bodies</span></a></h2>
<p>A body is the example of the request when it has one. Without an example it is built from the schema, taking each property's example, default, first enum value, format and type in that order, so a <code>uuid</code>, an <code>email</code> or a <code>date-time</code> reads as one.</p>
<h2 id="authentication" tabindex="-1"><a class="header-anchor" href="#authentication"><span>Authentication</span></a></h2>
<table>
<thead>
<tr>
<th>Scheme in the specification</th>
<th>Postman</th>
<th>hurl</th>
</tr>
</thead>
<tbody>
<tr>
<td>OAuth2 client credentials</td>
<td>OAuth2 with <code>tokenUrl</code>, <code>clientId</code> and <code>clientSecret</code> variables</td>
<td>a token request first, captured as <code>token</code></td>
</tr>
<tr>
<td>API key in a header</td>
<td>API key with the <code>apiKey</code> variable</td>
<td>the header with <code>api_key</code></td>
</tr>
<tr>
<td>HTTP bearer</td>
<td>bearer with the <code>token</code> variable</td>
<td><code>Authorization: Bearer</code> with <code>token</code></td>
</tr>
<tr>
<td>HTTP basic</td>
<td>basic with <code>username</code> and <code>password</code></td>
<td>basic with <code>username</code> and <code>password</code></td>
</tr>
</tbody>
</table>
<h2 id="oauth-flows-in-the-bundled-spec" tabindex="-1"><a class="header-anchor" href="#oauth-flows-in-the-bundled-spec"><span>OAuth flows in the bundled spec</span></a></h2>
<p>The <code>flows</code> of an OAuth2 security scheme, with their token URL and scopes, are now carried into the written <code>spec.json</code>. They were dropped before.</p>
<h2 id="github-action" tabindex="-1"><a class="header-anchor" href="#github-action"><span>GitHub Action</span></a></h2>
<p>The action takes <code>postman-output-dir</code> and <code>hurl-output-dir</code> for the two new outputs.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>