Skip to content

Instantly share code, notes, and snippets.

View DavidBiesack's full-sized avatar

David Biesack DavidBiesack

View GitHub Profile
@DavidBiesack
DavidBiesack / chainLink-and-chainLinkItem-schema-composition.yaml
Last active June 4, 2023 14:21
chainLink and chainLinkItem schema composition.yaml
@DavidBiesack
DavidBiesack / newChainLink-and-chainLinkItem-schema-composition.yaml
Created June 3, 2023 23:56
newChainLink and chainLinkItem schema composition
@DavidBiesack
DavidBiesack / chainLinks-and-chainLinkItem-schemas.yaml
Created June 2, 2023 01:59
chainLinks schema with chainLinkItem nested scheme extracted as it's own schema
@DavidBiesack
DavidBiesack / ChainLinks.java
Last active May 19, 2023 01:34
Java codegen swagger-codegen output on a simple chainLinks JSON schema
@DavidBiesack
DavidBiesack / multiple-400-level-application-problem+json-response.yaml
Last active March 31, 2023 21:16
Multiple 400-level application/problem+json responses
paths:
/chainLinks:
get:
responses:
'200': ... as seen above ...
'400':
description: Bad Request.
content:
application/problem+json:
schema:
@DavidBiesack
DavidBiesack / apiProblem.yaml
Last active March 26, 2023 03:32
JSON Schema for application/problem+json responses, as per RFC 7807
title: API Problem
description: 'API problem response, as per [RFC 7807 application/problem+json](https://tools.ietf.org/html/rfc7807).'
type: object
properties:
type:
description: 'A URI reference [RFC3986] that identifies the problem type.'
type: string
format: uri-reference
maxLength: 128
title:
@DavidBiesack
DavidBiesack / listChainLinks-200-OK-response.yaml
Created March 16, 2023 23:25
listChainLinks operation with 200 OK response
@DavidBiesack
DavidBiesack / openapi.yaml
Last active February 27, 2023 12:51
OpenAPI 3.1 document stub (YAML format)
openapi: 3.1.0
info:
title: Your API Title
summary: One sentence description of the API
description: >-
Place a longer description of your API here. Use Markdown for richer text.
Describe the API use cases, who uses it, and for what purpose. Highlight
the significant resources and operations in the API.
You can write multiple paragraphs and link to additional documentation,
@DavidBiesack
DavidBiesack / chain-link-model-template.md
Last active February 19, 2023 19:20
Template for the domain model for the "Chain Links" application
@DavidBiesack
DavidBiesack / banking-api-openapi-3.0.yaml
Last active October 12, 2022 17:06
banking-api-openapi-3.0.yaml
openapi: 3.0.3
info:
title: Apiture Digital Banking
description: >-
APIs for digital banking client applications.
## Customer Accounts