swagger-api / validator-badge

Validate your Swagger JSON/YAML today!
http://swagger.io
Apache License 2.0
210 stars 85 forks source link

Develop #20

Closed madusankapremaratne closed 9 years ago

madusankapremaratne commented 9 years ago

Code formatting done to improve the readability of the code. Please merge the PR and apply the changes to master. Thanks, Maduz

fehguy commented 9 years ago

I don't have a strong opinion of 2 or 4 space indents, but I do feel the swagger projects should be consistent, at least across the same language, so I'm hesitant to merge this.

madusankapremaratne commented 9 years ago

It is up to you to merge this or not. Just think about the readability of the code. If you want your codes to be used by more people, you should consider adding method comments, improve readability etc. Anyway I do not have any issues, I have re arranged the code myself and I felt it is good if I can contribute it.