Skip to content

Instantly share code, notes, and snippets.

View jhigginbotham's full-sized avatar

James Higginbotham jhigginbotham

View GitHub Profile
@jhigginbotham
jhigginbotham / design-sequence-diagram-example-1.mmd
Created September 24, 2021 11:48
design-sequence-diagram-example-1.mmd
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jhigginbotham
jhigginbotham / modeling-sequence-diagram-1.mmd
Created September 23, 2021 15:17
modeling-sequence-diagram-1.mmd
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jhigginbotham
jhigginbotham / openapi.yaml
Created September 13, 2021 21:34
OAS v3 example using DeckofCardsAPI.com - troubleshooting render errors
openapi: 3.0.0
info:
title: Deck of Cards API
description: |
An API to simulate a deck of cards. This API can be used to build card games of all types. New decks may be created using a single deck of 52 cards, or multiple decks may be used to create a large deck of cards.
This API supports the following capabilities -
* Create a new deck, shuffled or unshuffled (order preserved)
* Reshuffle an existing deck
@jhigginbotham
jhigginbotham / openapi.yaml
Last active August 16, 2021 19:14
OAS v3 example using DeckofCardsAPI.com
openapi: 3.0.0
info:
title: Deck of Cards API
description: |
An API to simulate a deck of cards. This API can be used to build card games of all types. New decks may be created using a single deck of 52 cards, or multiple decks may be used to create a large deck of cards.
This API supports the following capabilities -
* Create a new deck, shuffled or unshuffled (order preserved)
* Reshuffle an existing deck
@jhigginbotham
jhigginbotham / DeckofCardsAPI-using-examples-walkthrough.oas3.yaml
Last active July 19, 2021 14:53
OAS v3 example using DeckofCardsAPI.com - using examples (walkthrough)
openapi: 3.0.0
info:
title: Deck of Cards API
description: |
An API to simulate a deck of cards. This API can be used to build card games of all types. New decks may be created using a single deck of 52 cards, or multiple decks may be used to create a large deck of cards.
This API supports the following capabilities -
* Create a new deck, shuffled or unshuffled (order preserved)
* Reshuffle an existing deck
@jhigginbotham
jhigginbotham / DeckofCardsAPI-create-schema-solution.oas3.yaml
Last active July 19, 2021 14:53
OAS v3 example using DeckofCardsAPI.com - create schema (solution)
openapi: 3.0.0
info:
title: Deck of Cards API
description: |
An API to simulate a deck of cards. This API can be used to build card games of all types. New decks may be created using a single deck of 52 cards, or multiple decks may be used to create a large deck of cards.
This API supports the following capabilities -
* Create a new deck, shuffled or unshuffled (order preserved)
* Reshuffle an existing deck
@jhigginbotham
jhigginbotham / DeckofCardsAPI-create-schema-example-1-before.oas3.yaml
Last active July 19, 2021 14:53
OAS v3 example using DeckofCardsAPI.com - create schema (walkthrough)
openapi: 3.0.0
info:
title: Deck of Cards API
description: |
An API to simulate a deck of cards. This API can be used to build card games of all types. New decks may be created using a single deck of 52 cards, or multiple decks may be used to create a large deck of cards.
This API supports the following capabilities -
* Create a new deck, shuffled or unshuffled (order preserved)
* Reshuffle an existing deck
@jhigginbotham
jhigginbotham / DeckofCardsAPI-create-operation-solution.oas3.yaml
Last active July 19, 2021 14:48
OAS v3 example using DeckofCardsAPI.com - create operation (solution)
openapi: 3.0.0
info:
title: Deck of Cards API
description: |
An API to simulate a deck of cards. This API can be used to build card games of all types. New decks may be created using a single deck of 52 cards, or multiple decks may be used to create a large deck of cards.
This API supports the following capabilities -
* Create a new deck, shuffled or unshuffled (order preserved)
* Reshuffle an existing deck
@jhigginbotham
jhigginbotham / DeckofCardsAPI-create-operation-exercise.oas3.yaml
Last active July 19, 2021 14:48
OAS v3 example using DeckofCardsAPI.com - create operation (exercise)
openapi: 3.0.0
info:
title: Deck of Cards API
description: |
An API to simulate a deck of cards. This API can be used to build card games of all types. New decks may be created using a single deck of 52 cards, or multiple decks may be used to create a large deck of cards.
This API supports the following capabilities -
* Create a new deck, shuffled or unshuffled (order preserved)
* Reshuffle an existing deck
@jhigginbotham
jhigginbotham / DeckofCardsAPI-create-operation-1-before.oas3.yaml
Last active August 6, 2021 15:41
OAS v3 example using DeckofCardsAPI.com - create operation (walkthrough)
openapi: 3.0.0
info:
title: Deck of Cards API
description: |
An API to simulate a deck of cards. This API can be used to build card games of all types. New decks may be created using a single deck of 52 cards, or multiple decks may be used to create a large deck of cards.
This API supports the following capabilities -
* Create a new deck, shuffled or unshuffled (order preserved)
* Reshuffle an existing deck