code: protected void resolvePropertyReplacements(ApiContract apiContract) {
          if (apiContract == null) {
              return;
          }
          Api api = apiContract.getApi();
          if (api != null) {
              resolvePropertyReplacements(api);
          }
          resolvePropertyReplacements(apiContract.getPolicies());
      }
docs: Resolve contract property replacements