-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
42 lines (42 loc) · 2.76 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "Haal-Centraal-WOZ-bevragen",
"version": "1.0.0",
"description": "Deze API WOZ bevragen maakt het mogelijk gegevens uit de landelijke voorziening WOZ (Waardering Onroerende Zaken) op te vragen.",
"main": "index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"oas:generate-client": "openapi-generator-cli generate -i ./specificatie/genereervariant/openapi.yaml --global-property=modelTests=false,apiTests=false,modelDocs=false,apiDocs=false",
"oas:generate-java-client": "npm run oas:generate-client -- -o ./code/java -g java --additional-properties=dateLibrary=java8,java8=true,optionalProjectFile=false,optionalAssemblyInfo=false",
"oas:generate-netcore-client": "npm run oas:generate-client -- -o ./code/netcore -g csharp-netcore --additional-properties=optionalProjectFile=false,optionalAssemblyInfo=false",
"oas:generate-net-client": "npm run oas:generate-client -- -o ./code/net -g csharp --additional-properties=optionalProjectFile=false,optionalAssemblyInfo=false",
"oas:generate-python-client": "npm run oas:generate-client -- -o ./code/python -g python --additional-properties=optionalProjectFile=false,optionalAssemblyInfo=false",
"preoas:generate-postman-collection": "mkdirp ./test",
"oas:generate-postman-collection": "openapi2postmanv2 -s ./specificatie/genereervariant/openapi.yaml -o ./test/WOZ-Bevragen-postman-collection.json --pretty",
"oas:lint": "spectral lint ./specificatie/openapi.yaml",
"oas:lint-genereervariant": "spectral lint ./specificatie/genereervariant/openapi.yaml",
"preoas:resolve": "mvn-dl io.swagger.codegen.v3:swagger-codegen-cli:3.0.19 -f swagger-codegen-cli.jar",
"oas:resolve": "java -jar swagger-codegen-cli.jar generate -i ./specificatie/openapi.yaml -l openapi-yaml -o ./specificatie/genereervariant && java -jar swagger-codegen-cli.jar generate -i ./specificatie/openapi.yaml -l openapi -o ./specificatie/genereervariant",
"postoas:resolve": "rm swagger-codegen-cli.jar",
"unstage-generated": "git reset HEAD ./specificatie/genereervariant/openapi.* ./test/WOZ-Bevragen-postman-collection.json ./code/**",
"rollback-generated": "git checkout ./specificatie/genereervariant/openapi.* ./test/WOZ-Bevragen-postman-collection.json ./code/**"
},
"repository": {
"type": "git",
"url": "git+https://github.com/VNG-Realisatie/Haal-Centraal-WOZ-bevragen.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/VNG-Realisatie/Haal-Centraal-WOZ-bevragen/issues"
},
"homepage": "https://github.com/VNG-Realisatie/Haal-Centraal-WOZ-bevragen#readme",
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.5.2",
"@stoplight/spectral-cli": "^6.10.1",
"mvn-dl": "^6.1.1",
"openapi-to-postmanv2": "^4.16.0"
}
}