Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
abec6164
Commit
abec6164
authored
Oct 11, 2022
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API : allow export to csv + fix map poi get all without pagination
parent
f5ce8281
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
api_platform.yaml
config/packages/api_platform.yaml
+10
-10
Map.php
src/Entity/Map.php
+1
-0
No files found.
config/packages/api_platform.yaml
View file @
abec6164
...
...
@@ -266,16 +266,16 @@ api_platform:
# # ...
#
# The list of enabled formats. The first one will be the default.
#
formats:
#
jsonld:
#
mime_types: ['application/ld+json']
# json:
# mime_types: ['application/json']
# html
:
# mime_types: ['text/html
']
# The list of enabled formats. The first one will be the default.
formats
:
#
jsonld:
#
mime_types: ['application/ld+json']
json
:
mime_types
:
[
'
application/json'
]
# html:
# mime_types: ['text/html']
csv
:
mime_types
:
[
'
text/csv
'
]
# # ...
...
...
src/Entity/Map.php
View file @
abec6164
...
...
@@ -20,6 +20,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* "method"="GET",
* "input"=false,
* "output"=Map::class,
* "pagination_enabled"=false,
* "path"="/public/poi/all",
* "read"=false,
* "swagger_context" = {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment