llama-stack-mirror/.github
Sébastien Han 44e36ce48d
chore: use JSON instead of YAML for openapi generation
JSON has a few advantages over YAML in this context:

* No extra dependency: Removed ruamel.yaml; using the standard library
  json module.
* Simpler code: No YAML formatting configuration (indent, flow style,
  string presentation, etc.). JSON serialization is straightforward.
* Faster generation: JSON serialization is typically faster and more
  predictable than YAML formatting.
* Native OpenAPI format: JSON is the native OpenAPI format. Many tools
  prefer JSON, reducing potential compatibility issues.
* Better tooling support: JSON is widely supported. Tools like oasdiff,
  OpenAPI validators, and code generators work well with JSON.
* Fewer formatting edge cases: YAML can have edge cases (multiline
  strings, special characters, quoting, scalars etc). JSON avoids these.

All the tools consumming the YAMLs have been updated namely oasdiff for
conformance tests, docusaurus config and the genrator.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-03 18:05:48 +01:00
..
actions fix(ci): export UV_INDEX_STRATEGY to current shell before running uv sync (#4020) 2025-11-01 12:57:24 -07:00
ISSUE_TEMPLATE docs: fix broken links (#3647) 2025-10-01 16:48:13 -07:00
workflows chore: use JSON instead of YAML for openapi generation 2025-11-03 18:05:48 +01:00
CODEOWNERS chore: update CODEOWNERS (#3613) 2025-10-03 17:12:34 -07:00
dependabot.yml fix(ci): dependabot update had a bug 2025-08-20 16:34:50 -07:00
PULL_REQUEST_TEMPLATE.md chore: fix visible comments in pr template (#2279) 2025-05-27 15:42:33 +02:00
TRIAGERS.md chore: update CODEOWNERS (#3613) 2025-10-03 17:12:34 -07:00