Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 587 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 587 Bytes

Sky API Description

Convenience wrapper for Sky API Descriptions

import { Description } from "@dashkite/sky-api-description"

# implict discovery
description = await Description.from { request }

# URL target decoding based on description templates
{ name, bindings } = description.decode request

# simplified and normalized accessors
contentType = description
	.resources
  .blogs
  .methods
  .post
  .response["content-type"]

Features

  • Explicit and implicit discovery
  • Supports Sublime Request format
  • Normalized and simplified description accessors