0.1.499 • Published 4 years ago

@azure-tools/adl.core v0.1.499

Weekly downloads
5
License
MIT
Repository
github
Last release
4 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.1.499

4 years ago

0.1.498

4 years ago

0.1.496

4 years ago

0.1.494

4 years ago

0.1.492

4 years ago

0.1.491

4 years ago

0.1.490

4 years ago

0.1.489

4 years ago

0.1.487

4 years ago

0.1.486

4 years ago

0.1.485

4 years ago

0.1.484

4 years ago

0.1.483

4 years ago

0.1.482

4 years ago

0.1.481

4 years ago

0.1.480

4 years ago

0.1.470

4 years ago

0.1.469

4 years ago

0.1.465

4 years ago

0.1.467

4 years ago

0.1.459

4 years ago

0.1.462

4 years ago

0.1.455

4 years ago

1.0.441

4 years ago

1.0.444

4 years ago

0.1.446

4 years ago

1.0.440

4 years ago

1.0.437

4 years ago

1.0.429

4 years ago

1.0.428

4 years ago

1.0.426

4 years ago

1.0.422

4 years ago

1.0.417

4 years ago

1.0.398

4 years ago

1.0.380

4 years ago

1.0.378

4 years ago

1.0.379

4 years ago

1.0.377

4 years ago

1.0.376

4 years ago

1.0.374

4 years ago