Max Lincoln
Max Lincoln
Real world example - OpenStack [Server Actions](http://developer.openstack.org/api-ref-compute-v2.html#compute_server-actions). I've been [trying to convert OpenStack WADL to Swagger](https://github.com/rackerlabs/wadl2swagger) and these operations have been a sticking point. There's no real way to describe...
I've tried to create a generic Swagger library for Ruby: https://github.com/swagger-rb/swagger-rb The name is a little wonky. I didn't want to call the repo "swagger" cause I'd mix it up...
Perfect. I just wanted to get someone thinking about it. I don't have many specific use-cases in mind, mostly because I'm not sure how mime-types is used by most projects....
BTW - here's example source and generated doc, similar to `attribute`: ``` ruby class MyDash < Hashie::Dash property :one property :two, required: true property :three, default: 3, required: true end...
@michaelherold I haven't played with it much more, but I have used [macros](https://github.com/lsegal/yard/wiki/Tags#macros) to more easily generate documentation. Macros were useful, but probably not ideal: - I'm not sure if...
Rather than `include Peristable::JSON` I'd thought about doing `include Persistable[:json]` or `include Persistable, :json`. This might look a little odd at first, and slightly trickier to implement (but should be...
I was able to use reflection to find all the private methods that could conflict with property names. I basically found this via: ``` ruby class DashWithAllExtensions < Hashie::Dash Hashie::Extensions.constants.map...
I have a [branch](https://github.com/maxlinc/hashie/compare/intridea:master...reserved_words) with most of the work done to: 1. Add the tests that check if Hashie is polluting the method namespace. 2. Change protected/private methods to use...
I didn't notice your comment until now, but to answer your question it's because I want to ensure that the data is appropriate as it is entered, just not necessarily...
Ha - I'm 20/80 now ;) I still want to be able to ignore required constraints, but I think this is a hacky way to do it. I'm thinking about...