Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.29 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.29 KB

A conversion of the OpenAI OpenAPI to TypeSpec

For information on spec ingestion, see the Sorento wiki page: https://dev.azure.com/project-argos/Sorento/_wiki/wikis/Sorento.wiki/3021/Generate-OpenAI's-YAML-Spec

Snapshot: $M

commit 3852712e812b9b16ab67bf4f390345a19f98aabd (HEAD -> master, origin/master)
Author: root <[email protected]>
Date:   Fri Jan 31 21:29:23 2025 +0000

Ingestion tool: https://[email protected]/project-argos/Sorento/_git/sdk

commit 5493c9222e4ca5d015822629d4f4235544036daa (HEAD -> user/travisw/migrate-spec-ingestion-tool, origin/user/travisw/migrate-spec-ingestion-tool)
Author: Travis Wilson <[email protected]>
Date:   Tue Feb 4 14:24:59 2025 -0800

There are some deltas:

Changes to API Semantics

  • Many things are missing defaults (mostly due to bug where we can't set null defaults)
  • Error responses have been added.
  • Where known, the object property's type is narrowed from string to the constant value it will always be

Changes to API metadata or OpenAPI format

  • Much of the x-oaiMeta entries have not been added.
  • In some cases, new schemas needed to be defined in order to be defined in TypeSpec (e.g. because the constraints could not be added to a model property with a heterogeneous type)
  • There is presently no way to set title