mirror of
https://github.com/immich-app/immich.git
synced 2025-07-17 20:38:25 +02:00
refactor: open api (#6334)
This commit is contained in:
parent
a1523a9af0
commit
2439c5ab57
83 changed files with 404 additions and 19672 deletions
open-api/bin
9
open-api/bin/sync-spec-version.js
Normal file
9
open-api/bin/sync-spec-version.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
const spec = require('../immich-openapi-specs.json');
|
||||
const pkg = require('../../server/package.json');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
spec.info.version = pkg.version;
|
||||
fs.writeFileSync(
|
||||
path.join(__dirname, '../immich-openapi-specs.json'),
|
||||
JSON.stringify(spec, null, 2)
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue