Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1010 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 1010 Bytes

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: https://[email protected]/project-argos/Sorento/_git/export-api@54593e37 Ingestion tool: https://[email protected]/project-argos/Sorento/_git/sdk@da3aa64

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