Skip to content

Instantly share code, notes, and snippets.

View DavidBiesack's full-sized avatar

David Biesack DavidBiesack

View GitHub Profile
@DavidBiesack
DavidBiesack / gebegb.pov.txt
Last active March 19, 2024 22:04
gebegb.pov
// Persistence Of Vision raytracer version 3.0 file.
// Copyright 1998 David J. Biesack
// GEBEGB - inspired by the cover of Douglas R. Hofstadter's book,
// Go:del Escher and Bach: an Eternal Golden Braid
#version 3.7;
#include "colors.inc"
#include "textures.inc"
@DavidBiesack
DavidBiesack / getUniverse.yaml
Last active December 17, 2023 20:33
The getUniverse OpenAPI operation for the Chain Links API
openapi: '3.1.0'
info:
title: Read a Universe instance.
description: Part of the Chain Links API.
contact:
name: David Biesack
url: https://gist.github.com/DavidBiesack
version: 0.0.0
tags:
- name: Universes
@DavidBiesack
DavidBiesack / common.yaml
Created October 4, 2023 23:13
OpenAPI with common components for the Chain Links API
components:
responses:
'204':
description: No Content. The operation succeeded but returned no response body.
content:
application/json:
schema:
$ref: '#/components/schemas/apiProblem'
'400':
description: Bad Request. Request parameters and/or request body is invalid.
@DavidBiesack
DavidBiesack / patchUniverse.yaml
Last active December 16, 2023 16:12
OpenAPI operation to update a Chain Link Universe instance using JSON Merge Patch
openapi: '3.1.0'
info:
title: Update a Universe instance.
description: Part of the Chain Links API.
contact:
name: David Biesack
url: https://gist.github.com/DavidBiesack
version: 0.0.0
tags:
- name: Universes
@DavidBiesack
DavidBiesack / deleteUniverse.yaml
Created October 4, 2023 21:20
OpenAPI operation to delete a Universe from the Chain Links applications
openapi: '3.1.0'
info:
title: deleteUniverse operation
description: Part of the Chain Links API.
contact:
name: David Biesack
url: https://gist.github.com/DavidBiesack
version: 0.0.0
tags:
- name: Universes
@DavidBiesack
DavidBiesack / readUniverse.yaml
Last active October 3, 2023 22:00
OpenAPI definition of the Read operation for the Universe resource
openapi: '3.1.0'
info:
title: Read a Universe instance.
description: Part of the Chain Links API.
contact:
name: David Biesack
url: https://gist.github.com/DavidBiesack
version: 0.0.0
tags:
- name: Universes
@DavidBiesack
DavidBiesack / openapi.json
Created August 4, 2023 15:10
OpenAPI document with format: text in a JSON schema
{
"openapi": "3.0.3",
"info": {
"title": "API with `format: text`",
"description": "API with `format: text`.",
"contact": {
"name": "Lorem Ipsum",
"url": "https://www.example.com/",
"email": "api@apiture.com"
},
@DavidBiesack
DavidBiesack / chainLinkItem-schema-composition-with-contentField.yaml
Created June 7, 2023 10:24
chainLinkItem schema composition with contentField.yaml
openapi: 3.0.3
info:
title: Chain Links
version: 0.0.0
description: chain links API
tags:
- name: Chain Links
description: Story Element Items in a CHain
servers:
- url: https://api.chain-links.io/
@DavidBiesack
DavidBiesack / chainLink-schema-composition.openapi.yaml
Last active June 7, 2023 10:23
chainLink schema composition.openapi.yaml
@DavidBiesack
DavidBiesack / chainLink-and-chainLinkItem-schema-composition.yaml
Last active June 4, 2023 14:21
chainLink and chainLinkItem schema composition.yaml