Skip to content

Instantly share code, notes, and snippets.

@who
Created March 22, 2016 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save who/895e3adc19c3f41e7967 to your computer and use it in GitHub Desktop.
Save who/895e3adc19c3f41e7967 to your computer and use it in GitHub Desktop.
securityDefinitions:
hmac:
algorithm: "sha256"
inputs:
timestamp:
type: "integer"
format: "int64"
uri:
type: "string"
description: "The full URI of the request"
body:
type: "string"
description: "The full string body of the request"
secret:
type: "string"
description: "The shared secret key"
outputs:
name: "myHash"
in: "header"
description: "Holds the hashed value"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment