code: func (c *Controller) updateSpecLocked() error {
  	crdSpecs := []*spec.Swagger{}
  	for _, versionSpecs := range c.crdSpecs {
  		for _, s := range versionSpecs {
  			crdSpecs = append(crdSpecs, s)
  		}
  	}
  	return c.openAPIService.UpdateSpec(mergeSpecs(c.staticSpec, crdSpecs...))
  }
docs: // updateSpecLocked aggregates all OpenAPI specs and updates openAPIService.
  // It is not thread-safe. The caller is responsible to hold proper lock (Controller.lock).