docs: function patchopenapi() {
  
  	var debug = {};
  	debug.name = 'debug';
  	debug.in = 'query';
  	debug.description = 'Turn on debug information (undocumented)';
  	debug.schema = {};
  	debug.schema.type = 'boolean';
  	debug.required = false;
  	openapi.paths["/availabilities"].get.parameters.push(debug);
  
  	var embargoed = {};
  	embargoed.name = 'embargoed';
  	embargoed.in = 'query';
  	embargoed.description = 'Control return of embargoed items (undocumented)';
  	embargoed.schema = {};
  	embargoed.schema.type = 'string';
  	embargoed.schema.enum = ['include','exclude','only'];
  	embargoed.required = false;
  	openapi.paths["/programmes"].get.parameters.push(clone(embargoed));
  	openapi.paths["/images"].get.parameters.push(clone(embargoed));
  	openapi.paths["/groups"].get.parameters.push(clone(embargoed));
  	openapi.paths["/versions"].get.parameters.push(clone(embargoed));
  }