Skip to content

Commit 87ed22b

Browse files
authored
Merge pull request #380 from soyuka/resourceclassdir
Doc api-platform/core#1665
2 parents f70d667 + f49bb95 commit 87ed22b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

core/configuration.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ api_platform:
7575

7676
swagger:
7777
# The swagger api keys.
78-
api_keys: []
78+
api_keys: []
7979

8080
collection:
8181
# The default order of results.
@@ -113,6 +113,10 @@ api_platform:
113113
# The list of paths with files or directories where the bundle will look for additional resource files.
114114
paths: []
115115

116+
# The list of your resources class directories. Defaults to the directories of the mapping paths but might differ.
117+
resource_class_directories:
118+
- '%kernel.project_dir%/src/Entity'
119+
116120
http_cache:
117121
# Automatically generate etags for API responses.
118122
etag: true

0 commit comments

Comments
 (0)