DragonByte Tech
Well-known member
- Affected version
- 2.1.0 RC2
F.ex.
Using
Fix: in ClassParser find
xf-dev:generate-api-docs DBTech/eCommerce --renderer=xf2Html
-> result: "Class DBTech/eCommerce\Entity\ShippingCombination does not exist"Using
DBTech\eCommerce
results in an empty $this->types
array in XF\Api\Docs\Compiler
.Fix: in ClassParser find
$className = \XF::stringToClass($shortName, '%s\Entity\%s');
add above $shortName = str_replace('/', '\\', $shortName);