This repository provides a guided user interface for extrapolation of new data for the Linked Open Citation Data Base.
master
stored in oldstable
dev
was merged into master
npm install
to install dependencies.ng serve
and access the prototype via localhost:4200
ng build --base-href=/<subdir>/
to deploy files into distscp dist/* <server>:/<PATH/TO/SITE/>
npm remove -g angular-cli
npm install -g @angular/cli@latest
rm -rf node_modules dist
npm install -g typescript
npm install
Go to Swagger Code Generator
Select POST /gen/clients/{language}
'Generates a client library' and press 'Try it out' button
Select typescript-angular
as the target language for the client library and insert the following snippet as body:
{
"spec": {},
"options": {
"modelPropertyNaming": "original",
"ngVersion": "6.1"
},
"swaggerUrl": "https://locdb.bib.uni-mannheim.de/locdb-dev/swagger",
"authorizationValue": {
"value": "string",
"type": "string",
"keyName": "string"
},
"securityDefinition": {
"type": "string",
"description": "string"
}
}
Press Execute
button and inspect the response body for the link
.
Unzip the downloaded code and place typescript-angular2-client
as subdirectory in src/app
.