101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

487
active users

#openapi3

0 posts0 participants0 posts today
Zło To<p>Lapidary-render 0.12.0 is now released. </p><p>To the best of my knowledge it&#39;s the only <a href="https://101010.pl/tags/codeGenerator" class="mention hashtag" rel="tag">#<span>codeGenerator</span></a> that properly handles <a href="https://101010.pl/tags/jsonSchema" class="mention hashtag" rel="tag">#<span>jsonSchema</span></a> anyOf and allOf. <br />Also has support for oneOf, but not per the specs.</p><p><a href="https://github.com/python-lapidary/lapidary-render/releases/tag/v0.12.0" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/python-lapidary/lap</span><span class="invisible">idary-render/releases/tag/v0.12.0</span></a></p><p><a href="https://101010.pl/tags/pythonLapidary" class="mention hashtag" rel="tag">#<span>pythonLapidary</span></a> <a href="https://101010.pl/tags/openAPI" class="mention hashtag" rel="tag">#<span>openAPI</span></a> <a href="https://101010.pl/tags/openAPI3" class="mention hashtag" rel="tag">#<span>openAPI3</span></a> <a href="https://101010.pl/tags/openAPI30" class="mention hashtag" rel="tag">#<span>openAPI30</span></a> <a href="https://101010.pl/tags/programming" class="mention hashtag" rel="tag">#<span>programming</span></a> <a href="https://101010.pl/tags/python" class="mention hashtag" rel="tag">#<span>python</span></a> <a href="https://101010.pl/tags/webAPI" class="mention hashtag" rel="tag">#<span>webAPI</span></a></p>
$(cat /dev/urandom)<p><a href="https://fosstodon.org/tags/JSONSchema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSONSchema</span></a> in <a href="https://fosstodon.org/tags/OpenAPI30x" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenAPI30x</span></a> was just lovely. Consider this schema:</p><p>anyOf:<br>- type: object<br>- type: integer<br> maximum: 20<br> nullable: true</p><p>Does null value validate? No.<br>Value must validate against at least one leg of anyOf *and* against the parent. Other than anyOf, the parent is empty which means any value will validate against it ...except for null.</p><p>How to write a schema for nullable union (two types plus null)? You can't.</p><p>Why so many projects still use it 🤦</p><p><a href="https://fosstodon.org/tags/openAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openAPI</span></a> <a href="https://fosstodon.org/tags/openAPI3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openAPI3</span></a> <a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>