Page MenuHomePhabricator

Automatically set info.license during spec generation
Open, LowPublic2 Estimated Story Points

Description

Update the MediaWiki OpenAPI description generation process to set the info.license object based on license information defined within the project. Use full-text/long-form license name in info.license.name and set a matching info.license.url.

Conditions of acceptance

  • Automatically set info.license.name and info.license.url during OpenAPI description generation

Event Timeline

KBach lowered the priority of this task from Medium to Low.Apr 27 2026, 3:16 PM
HCoplin-WMF set the point value for this task to 2.May 7 2026, 2:50 PM
HCoplin-WMF subscribed.

Estimation notes:

  • We should set this automatically based on the project configuration during spec generation.
  • Use long name description (including returning the full paragraph for things like Wikidata).
  • Use the URL provided by the config.
  • If no license is set, do not populate these keys with anything. If it is not populated, the field will not appear at all.