generate_openapi_spec# documenteer.ext.openapi.generate_openapi_spec(app, config)# Generate the OpenAPI spec from a user-specified generator function. This is called during the config-inited Sphinx event. Parameters: app (Sphinx) – The Sphinx application. config (Config) – The Sphinx configuration. Return type: None