I have installed TYPO3 v12.4 using ddev and composer. To use API as an extension I have installed nngrestapi extension using command
composer require nng/nnrestapi
Followed all the steps provided in documentation visit doc
in step 4, they mentioned to edit site configuration and append below line of code,
imports:
- { resource: "EXT:nnrestapi/Configuration/Yaml/default.yaml" }
I have done this at mine config/sites/autogenerated-1/config.yaml (main directory is not visible in my codebase)
It still says you have not added configuration.
sharing snapshot of both folder structure !