Closed jszwedko closed 9 years ago
Thanks @jszwedko, this is great! I had overlooked that parameters could be placed directly under the path. Knowing this now I can DRY up my own swagger :) I've raised another PR to add an example to the main test swagger here https://github.com/westfieldlabs/apivore/pull/61
@hornc awesome, thank you! Apologies, I meant to add a test, but must have forgotten.
As they don't correspond to resource routes, currently this just includes
parameters
.See https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#path-item-object
Addresses #59