Live data from Hacker News

In 76% of modern OpenAPI specs, JSON Schema dominates the specification

sourcemeta.com

1–4 of 4 posts

Re: In 76% of modern OpenAPI specs, JSON Schema dominates the specification

#2
I really like OpenAPI in conjunction with openapi-fetch to create a typed interface for frontends/tests/etc to leverage. I especially like deleting the manual types that get strewn around frontends with inaccuracies, bespoke class names and unnecessary property names/types transformations.

I wouldn't work without these tools anymore!

Re: In 76% of modern OpenAPI specs, JSON Schema dominates the specification

#4

Interesting analysis! Do you also have insights into which JSON Schema constructs are used most often in that dataset?

I don't but seems like an interesting follow up for us.

There have been research in that area (i.e. https://link.springer.com/chapter/10.1007/978-3-030-34146-6_...) but usually the input set is too small or biased.

As a JSON Schema TSC member, I consulted with various organisations on large scale JSON Schema use, which is where things get truly interesting (>8000 complex interconnected schema data models) though all of them are sadly closed-source.