zircote/swagger-php — pull request #139 by steffkes (2014-04-20 11:46:30+00:00)
Title: Enhance generated files w/ static data?

To provide a bit context: Swagger allows to include a `info`-key in the resource-listing, which gets display on top of the actual listing ([api-docs](http://petstore.swagger.wordnik.com/api/api-docs), [petstore](http://petstore.swagger.wordnik.com/))

that could be useful when you'd like to show some information, for example:

* which credentials to use for Authentication (given you are on a test-instance and that gets resetted once a while, but the fixtures are available all the time)

* the app contains a decision-matrix which decides based on several properties what the result looks like. and you could include those information there.

long story short: that would be nice, but i don't like to see that stuff cluttering my code. rather i'd like to see the possibility to include that stuff, from a static source or something like that.

probably i'm having a clear picture in mind but wasn't able to express it that clearly. if that's the case, please let me know and i'll elaborate a bit more.

WDYT?