generating options from apipie docs