0.14.0 • Published 3 years ago

@azure-tools/adl v0.14.0

Weekly downloads
48
License
MIT
Repository
github
Last release
3 years ago

ADL - An Api Description Language using TypeScript

Goals today:

  • parse and persist an ADL model
  • convert from/to OpenAPI (as much as we can)
  • some docs that illustrate the ideas

Aspiration

An alternative to OpenAPI, Swagger means of descrbing an API surface, that facilitates describing multiple API versions of an API.

  • provide a better authoring experience for OpenAPI specifications
  • handle multiple api-versions without significantly increasing complexity.
  • provide a more natural language for expressing an API surface
  • protocol agnostic
  • existing tools available, not reinventing the wheel.

Reasoning

OpenAPI is a fairly valuable standard for generating wire-protocol documentation for Http APIs.

Unfortunately, it has a few pain-points, that ratchet up the complexity the deeper you get:

  • multiple API versions - docmenting an evolving surface
  • multipe files ($refs as a means to connect pieces is fragile.)
  • YAML/JSON as an encoding format renders the content to be merely data.
  • JSON Schema lacks sufficent fidelity to manage a lot of cases easily
  • content aware editors are nearly non-existant
  • Path Centric model taints the API both in design and expression

Alternatives

Of course, there are an incredible number of ways to document APIs:

  • OpenAPI - YAML/JSON
  • Smithy -
  • RAML -
  • GraphQL -
  • CSDL

Priorities

In deciding a path,

  • Leverage existing tooling as much as possible
  • Language should be able to capture an API, however it's constructed
  • Project-specific linting/constraints should easy to build and enforce
  • Typical change scenarios need to have the lowest friction
0.14.0

3 years ago

0.13.0

3 years ago

0.12.0

3 years ago

0.11.0

3 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.229

4 years ago

0.1.228

4 years ago

0.1.226

4 years ago

0.1.225

4 years ago

0.1.224

4 years ago

0.1.223

4 years ago

0.1.222

4 years ago

0.1.221

4 years ago

0.1.220

4 years ago

0.1.219

4 years ago

0.1.218

4 years ago

0.1.217

4 years ago

0.1.216

4 years ago

0.1.215

4 years ago

0.1.214

4 years ago

0.1.213

4 years ago

0.1.202

4 years ago

0.1.203

4 years ago

0.1.200

4 years ago

0.1.199

4 years ago

0.1.198

4 years ago

0.1.197

4 years ago

0.1.190

4 years ago

1.0.187

4 years ago

1.0.184

4 years ago

0.1.189

4 years ago

1.0.183

4 years ago

1.0.181

4 years ago

1.0.179

4 years ago

1.0.180

4 years ago

1.0.176

4 years ago

1.0.173

4 years ago

1.0.171

4 years ago

1.0.162

4 years ago

1.0.150

4 years ago

1.0.145

4 years ago

1.0.146

4 years ago

1.0.148

4 years ago

1.0.143

4 years ago

1.0.140

4 years ago