Skip to content

Instantly share code, notes, and snippets.

@bytenik
bytenik / TypeHandlingBug.cs
Last active August 29, 2015 14:03
Failing example for interface type name handling
class ContractResolver : DefaultContractResolver
{
public readonly IDictionary<Type, JsonContract> Contracts = new Dictionary<Type, JsonContract>();
public override JsonContract ResolveContract(Type type)
{
if (Contracts.ContainsKey(type))
return Contracts[type];
else
return base.ResolveContract(type);

Keybase proof

I hereby claim:

  • I am bytenik on github.
  • I am bytenik (https://keybase.io/bytenik) on keybase.
  • I have a public key ASD-xVoUNkfD042sgesceYG5-HNy7nFEsl6cqC3Huq8Ozwo

To claim this, I am signing this object:

@bytenik
bytenik / swagger.json
Created July 10, 2019 11:39
Bitgo Swagger
{
"openapi": "3.0.0",
"servers": [
{
"description": "Production environment",
"url": "https://www.bitgo.com"
},
{
"description": "Test environment",
"url": "https://test.bitgo.com"