File tree 2 files changed +8
-2
lines changed
src/PrestaShopBundle/Resources/views/Admin/Configure/AdvancedParameters/AdminAPI
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ api_platform:
22
22
enable_entrypoint : false
23
23
enable_swagger : true
24
24
enable_swagger_ui : true
25
+ enable_re_doc : true
25
26
docs_formats :
26
27
# This is used to allow using the Swagger UI in HTML presentation
27
28
html : [ 'text/html' ]
Original file line number Diff line number Diff line change 32
32
<ul >
33
33
<li >
34
34
<a target =" _blank" href =" {{ path(' api_doc' , {_format : ' html' }) }}" >
35
- {{ ' API Documentation (HTML format)' | trans({}, ' Admin.Advparameters.Feature' ) }}
35
+ {{ ' API Documentation (Swagger)' | trans({}, ' Admin.Advparameters.Feature' ) }}
36
+ </a >
37
+ </li >
38
+ <li >
39
+ <a target =" _blank" href =" {{ path(' api_doc' , {_format : ' html' , ui : ' re_doc' }) }}" >
40
+ {{ ' API Documentation (ReDoc)' | trans({}, ' Admin.Advparameters.Feature' ) }}
36
41
</a >
37
42
</li >
38
43
<li >
39
44
<a target =" _blank" href =" {{ path(' api_doc' , {_format : ' json' }) }}" >
40
- {{ ' API Documentation (JSON format )' | trans({}, ' Admin.Advparameters.Feature' ) }}
45
+ {{ ' API Documentation (JSON)' | trans({}, ' Admin.Advparameters.Feature' ) }}
41
46
</a >
42
47
</li >
43
48
</ul >
You can’t perform that action at this time.
0 commit comments