I hereby claim:
- I am screaminghawk on github.
- I am screaminghawk (https://keybase.io/screaminghawk) on keybase.
- I have a public key ASBocdkH6yDRUr8O7tuZvA3kj3rxhX6MXPk7tEZnLM2cxQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Parameters": { | |
"AdminName": { | |
"NoEcho": "false", | |
"Type": "String", | |
"Description": "New admin account name", | |
"MinLength": "1", | |
"MaxLength": "41", | |
"AllowedPattern": "[a-zA-Z0-9]*", |
function humanifyArray(arr, lastWord){ | |
if (!arr || arr.length === 0){ | |
// Return an empty string for blank arrays | |
return '' | |
} else if (arr.length == 1){ | |
// Return the sole array item if only 1 item | |
return arr[0] | |
} | |
// Duplicate array to prevent modification issues | |
arr = arr.slice(0) |
import sys | |
import json | |
def eexit(message): | |
"""Print a message and exit.""" | |
print(message) | |
exit(1) | |
def convert(inFile, outFile): | |
"""Convert the JSON file to swagger YAML.""" |