Skip to content

Instantly share code, notes, and snippets.

View handrews's full-sized avatar

Henry Andrews handrews

View GitHub Profile
@handrews
handrews / aaa-fail-requirements.txt
Last active February 19, 2023 22:56
pytest-httpserver with hypothesis>=6.0.4, Python 3.10.0, Mac OS 12.6.2 on Apple M1 Pro thread hang bug
hypothesis==6.0.4
pytest==7.2.1
pytest-httpserver==1.0.6
@handrews
handrews / json-pointer-errors.txt
Created February 18, 2023 18:20
Syntax error test cases for JSON Pointer (JP) and Relative JSON Pointer (RJP)
Malformed ptr Notes
=====================
"0" valid RJP
"1-4#" valid RJP
"0+20/foo/bar valid RJP
"foo/bar" missing initial "/"
"/foo~/bar" unescaped "~"
@handrews
handrews / data.json
Last active February 21, 2023 22:33
Additional Relative JSON Pointer examples for index manipulation
[
"foo",
"bar",
{"baz": "value"}
]
@handrews
handrews / oas3-draft-08-schema.yaml
Last active June 12, 2019 07:36
OAS 3.0 JSON Schema from PR #1270 rewritten with JSON Schema draft-08 proposals
$id: 'https://openapis.org/schemas/oas/3.0'
$schema: 'http://json-schema.org/draft-08-work-in-progress/schema#'
type: object
required:
- openapi
- info
- paths
allOf:
- $ref: '#/$defs/Mixins/$defs/Extensible'