Commit 54b88104 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3326096: Update OpenAPI for JSON:API module from 3.0.2 to 3.0.4 and keep needed patches

parent 63804e9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
    "vardot/module-installer-factory": "~1.0",
    "drupal/consumers": "~1.0",
    "drupal/openapi": "~2.0",
    "drupal/openapi_jsonapi": "3.0.2",
    "drupal/openapi_jsonapi": "3.0.4",
    "drupal/openapi_rest": "~2.0",
    "drupal/openapi_ui_redoc": "~1.0",
    "drupal/openapi_ui_swagger": "~1.0",
+3 −3
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ use Vardot\Installer\ModuleInstallerFactory;
 */
function varbase_api_install() {

  // Processer for install: in varbase_api.info.yml file using ModuleInstallerFactory.
  // Processor for install: in varbase_api.info.yml file using ModuleInstallerFactory.
  // ---------------------------------------------------------------------------.
  ModuleInstallerFactory::installList('varbase_api');

@@ -58,7 +58,7 @@ function varbase_api_update_8701() {
  // If Simple Oauth Extra still enabled after the update to ~4.0 version.
  if (isset($core_extension_data['module']['simple_oauth_extras'])) {

    // Unset the module from the moudles array.
    // Unset the module from the modules array.
    unset($core_extension_data['module']['simple_oauth_extras']);

    // Save changes for modules.
@@ -149,6 +149,6 @@ function varbase_api_update_8704() {
 */
function varbase_api_update_90001() {
  // Set the weight of the module after installation of list of modules.
  // To make sure that any hook or event subscriber workes after all used modules.
  // To make sure that any hook or event subscriber workers after all used modules.
  ModuleInstallerFactory::setModuleWeightAfterInstallation('varbase_api');
}