Skip to content

Commit a20593a

Browse files
authored
Merge pull request #1110 from joshunrau/dev
update libnest to add auto documentation
2 parents 0156b36 + 145acfd commit a20593a

File tree

4 files changed

+5302
-3205
lines changed

4 files changed

+5302
-3205
lines changed

apps/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@casl/prisma": "catalog:",
2020
"@douglasneuroinformatics/libcrypto": "catalog:",
2121
"@douglasneuroinformatics/libjs": "^2.4.0",
22-
"@douglasneuroinformatics/libnest": "^2.3.1",
22+
"@douglasneuroinformatics/libnest": "^3.0.1",
2323
"@douglasneuroinformatics/libpasswd": "catalog:",
2424
"@douglasneuroinformatics/libstats": "catalog:",
2525
"@faker-js/faker": "^9.4.0",

apps/api/src/main.ts

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,23 @@ import { ConfiguredAuthModule } from './vendor/configured.auth.module';
1515

1616
export default AppContainer.create({
1717
docs: {
18-
config: {
19-
contact: {
20-
21-
name: 'Douglas Neuroinformatics',
22-
url: 'https://douglasneuroinformatics.ca'
23-
},
24-
description: 'Documentation for the REST API for Open Data Capture',
25-
externalDoc: {
26-
description: 'Homepage',
27-
url: 'https://opendatacapture.org'
28-
},
29-
license: {
30-
name: 'Apache-2.0',
31-
url: 'https://www.apache.org/licenses/LICENSE-2.0'
32-
},
33-
tags: ['Authentication', 'Groups', 'Instruments', 'Instrument Records', 'Subjects', 'Users'],
34-
title: 'Open Data Capture'
18+
contact: {
19+
20+
name: 'Douglas Neuroinformatics',
21+
url: 'https://douglasneuroinformatics.ca'
3522
},
36-
path: '/spec.json'
23+
description: 'Documentation for the REST API for Open Data Capture',
24+
externalDoc: {
25+
description: 'Homepage',
26+
url: 'https://opendatacapture.org'
27+
},
28+
license: {
29+
name: 'Apache-2.0',
30+
url: 'https://www.apache.org/licenses/LICENSE-2.0'
31+
},
32+
path: '/',
33+
tags: ['Authentication', 'Groups', 'Instruments', 'Instrument Records', 'Subjects', 'Users'],
34+
title: 'Open Data Capture'
3735
},
3836
envSchema: $Env,
3937
imports: [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "opendatacapture",
33
"type": "module",
4-
"version": "1.9.1",
4+
"version": "1.9.2",
55
"private": true,
66
"packageManager": "[email protected]",
77
"license": "Apache-2.0",

0 commit comments

Comments
 (0)