fdoc
fdoc copied to clipboard
Documentation format and verification
- Added support for `ruby-3.2.2` - Updated `gemspec` - Fixed legacy failing tests
Found an example that was missing an `rspec`. Offering up a fix for my fellow copypasta-ers.
After generating a template for a controller action (and tests passing), I run the specs again. I have some JSON keys 'created-at' and 'updated-at' that point to date-time strings. Fdoc...
``` - docs/fdoc - blog.fdoc.meta - posts - POST.fdoc - posts.fdoc.service - comments - POST.fdoc - comments.fdoc.service ``` ``` - docs/fdoc - blog.fdoc.meta - posts-POST.fdoc - posts.fdoc.service - comments-POST.fdoc -...
We tried to run fdoc on a machine with Ruby 2.0 and it failed with the following stack trace. Then it worked with Ruby 1.8.7 installed. Maybe it should be...
This conversion is done by Transpec 1.13.1 with the following command: transpec spec/fdoc/presenters spec/fdoc/endpoint_scaffold_spec.rb spec/fdoc/endpoint_spec.rb spec/fdoc/service_spec.rb spec/fdoc/spec_watcher_spec.rb - 83 conversions from: obj.should to: expect(obj).to - 40 conversions from: == expected...
I have association which name is 'properties'. https://github.com/square/fdoc/blob/master/lib/fdoc/endpoint.rb#L84 there is condition to add property 'additionalProperties' if hash has key 'properties' and it cause problem.
To get the right documentation published on different deploy contexts (i.e. both on staging environment and production environment) it would be very useful to be able to use environment variables...
This seems due to the fact that on service.rb, the method used by view is done this way: ``` def base_path base_path = @schema['basePath'] if base_path && !base_path.end_with?('/') base_path +...
Is there any way to DRY up the `fdoc` response YAML files? I'd love to use something like YAML inheritance, but it doesn't seem to work. I find myself constantly...