Skip to content

Commit 1a19d49

Browse files
jmkerlochlgrd
andauthoredJul 21, 2023
feat(swagger): use swagger-ui-express to display simple and administration api doc (#85)
* feat(swagger): use swagger-ui-express to display simple api doc - add api documentation in docker image - convert yaml to josn with YAML node module - serve swagger-ui with swagger-ui-express * feat(api): convert yaml to json * feat(swagger-ui): add swagger express for admin API * feat(swagger): use openapi route instead of api-docs * feat(swagger-ui): update changelog * [fix] typo inside files --------- Co-authored-by: Loic <[email protected]>
1 parent d58f64e commit 1a19d49

File tree

12 files changed

+3190
-2085
lines changed

12 files changed

+3190
-2085
lines changed
 

‎changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CHANGED:
66
- GET /admin/1.0.0/services/{service}/projections/{projection} renvoit aussi les paramétres de la projection
77
- Projections were added for France and a file was created to separate them from the world wide projections
88
- Github issue templates were modified
9+
- Use swagger-ui-express to display simple and administration openapi documentation
910

1011
ADDED:
1112
- A Github PR template was added

‎docker/distributions/debian/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ COPY /docker/config /home/docker/config/
4343
### Dossier de l'application
4444
WORKDIR /home/docker/app
4545
COPY src ./src/
46+
### Dossier documentation apis
47+
COPY documentation/apis ./documentation/apis
4648
### Récupération des sources de l'application
4749
COPY *.json ./
4850

0 commit comments

Comments
 (0)
Please sign in to comment.