digirati-co-uk / iiif-model

Library for building IIIF resources
MIT License
2 stars 2 forks source link

Token properties should have the first letter as lower case. #1

Closed bazer closed 8 years ago

bazer commented 8 years ago

Hi!

I'm experimenting with implementing the new Auth spec version 0.9, and from what I can read in the spec the token token properties should start with a lower case letter. This seems to be required by UV too.

Sebastian

tomcrane commented 8 years ago

Hi Sebastian,

good catch. I'm these settings to serialise:

var settings = new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore, ContractResolver = new CamelCasePropertyNamesContractResolver() };

...so I didn't spot that I hadn't decorated those with the JsonProperty attribute.