updated api examples to match 2.0 spec, swagger field must be a string "2.0" https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#swagger-object-
updated codegen to match 2.0 spec
Merge pull request #18 from mahnunchik/master

Match Swagger Specification 2.0