Skip to content

Commit d726340

Browse files
Francis S. SpencerFrancis S. Spencer
Francis S. Spencer
authored and
Francis S. Spencer
committed
Readme updated for API integration
1 parent 6942da5 commit d726340

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ NOTE: This extension is just an example of how to create a new entity, not an u
1212
4. Create the entity Interface under Api/Data
1313
5. Create a custom SearchResultInterface under Api/Data
1414
6. Create the Repository Model by implementing the interface you created in step 3 and put your logic within each method and using your custom SearchResultInterface for the getList() method
15-
7. Put a preference value in di.xml for each interface you created
15+
7. Put a preference value in etc/di.xml for each interface you created
16+
8. Create the endpoints for the API under etc/webapi.xml
1617

1718
IMPORTANT: For interfaces, make sure to put the right Phpdoc comments based on the classes or data types that each method uses for parameters en return values, otherwise it won't work.
1819

0 commit comments

Comments
 (0)