Skip to content

Resolve Issue #3414504: Use OpenAPI entities for LastFM.

Description:

  • Created new OAS spec for LFM resources.
  • Programmatically generated new classes using Platform API schema generator.
  • Referenced the new OAS classes in ArtistBehaviors.php.
  • Move non-OAS classes into their own Utility namespace, and updated the references across the LFM namespace.
  • Ran in-line tests at HelloController.php, looking good.
  • Moved schema generator and php-cs-fixer into a new tools directory with their own composer.json each. Declutters the module's main composer.json, and reduces dependencies required by the module when installing it.
  • Removed schema generator from the module's main composer.json.
  • Created new generator script for programmatically generating the OAS resources for LFM and moving them to their proper namespace.
  • Separate task for updating unit tests created.

Closes #3414504

Edited by Richard Allen

Merge request reports