open311 / swagger-open311

An swagger definition of Open311 GeoReport API
4 stars 8 forks source link

extract common attributes #11

Closed kvlahromei closed 9 years ago

kvlahromei commented 9 years ago

There are some parameters / fields repeated and might get unified. For example:

Would be good for mocking and verification, but maybe this turns out to be complex?

kvlahromei commented 9 years ago

IRC tells us that this can be done by top-level parameters. Example.json

kvlahromei commented 9 years ago

I discussed this idea on IRC, but we noticed that due to the different visibility of other params, it makes just sense to extract jurisdinction_id and response_format