cloudflare / cloudflare/json-schema-tools

Clearly document config.js (base URI and headers)

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
341
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Equivalent of cloudflare/doca#5

`baseUri` is used for the base when resolving `href` for examples. With draft-04 it is the only way to do so. draft-06+ have `base`, so this isn't really needed

`globalHrefSchema` is more or less what it says, corresponding to the draft-07 `headerSchema`. Need to explain its behavior (it's overridden by `headerSchema`, not `allOf`'d) and perhaps direct people to more flexible uses of `headerSchema` even with older drafts.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.