OpenAPI error when component library is empty (aka 0 `Component`s with `status=true` exist)
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3547381. --> Reported by: [lauriii](https://www.drupal.org/user/1078742) Related to !99 >>> <h3 id="overview">Overview</h3> <p>I disabled all of the components and there's now an error:<br> <img src="https://www.drupal.org/files/issues/2025-09-18/Screenshot%202025-09-18%20at%2010.38.07%E2%80%AFAM.png" alt=""></p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>This should be handled gracefully without an error.</p> <h3 id="ui-changes">User interface changes</h3> > Related issue: [Issue #3499703](https://www.drupal.org/node/3499703)
issue