Repository navigation
skeld 0.3.0
Adds a new package, @skeld/openapi, and moves all packages to one shared version.
@skeld/openapi generates an OpenAPI 3.1.2 document from a contract. createOpenApi(contract, options) runs offline, performs no I/O and returns the document with a list of diagnostics. A declaration it cannot describe faithfully is refused with a located error. Where OpenAPI cannot express a rule the server enforces, the document carries an x-skeld-* extension and the result carries a diagnostic. Its only dependency is @skeld/core, as a peer.
@skeld/core and @skeld/auth are unchanged in behavior. From this release the packages share one version and are released together.
Install: npm install @skeld/core@0.3.0 @skeld/openapi@0.3.0