mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
Add OpenAPI Specs and Response DTOs (#320)
* Added swagger bearer auth method authentication accordingly * Update Auth endpoint * Added additional api information for authentication * Added Swagger CLI pluggin * Added DTO for /user endpoint * Added /device-info reponse DTOs * Implement server version * Added DTOs for /server-info * Added DTOs for /assets * Added album to Swagger group * Added generated specs file * Add Client API generator for web * Remove incorrectly placed node_modules * Created class to handle access token * Remove password and hash when getting all user * PR feedback * Fixed video from CLI doesn't get metadata extracted * Fixed issue with TSConfig to work with generated openAPI * PR feedback * Remove console.log
This commit is contained in:
@@ -5,7 +5,14 @@
|
||||
"root": "apps/immich",
|
||||
"compilerOptions": {
|
||||
"webpack": false,
|
||||
"tsConfigPath": "apps/immich/tsconfig.app.json"
|
||||
"tsConfigPath": "apps/immich/tsconfig.app.json",
|
||||
"plugins": [ {
|
||||
"name": "@nestjs/swagger",
|
||||
"options": {
|
||||
"classValidatorShim": false,
|
||||
"introspectComments": true
|
||||
}
|
||||
}]
|
||||
},
|
||||
"projects": {
|
||||
"immich": {
|
||||
@@ -45,4 +52,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user