Skip to content

Instantly share code, notes, and snippets.

<plugin>
<groupId>com.github.kongchen</groupId>
<artifactId>swagger-maven-plugin</artifactId>
<version>${maven-swagger-plugin.version}</version>
<configuration>
<apiSources>
<apiSource>
<locations>de.mdk</locations>
<apiVersion>1.0</apiVersion>
<basePath>http://project</basePath>
export class TypeHelper {
static nullOrUndefined(variable:any):boolean {
return (variable === undefined || variable === null);
}
static value(variable:any, optional:any):any {
if (TypeHelper.nullOrUndefined(variable)) {
return optional;
} else {
return variable;
## SSL Settings
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
ssl_ecdh_curve secp384r1;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:10m;
ssl_session_tickets off;
ssl_stapling on;
{
"name": "test-app",
"version": "0.0.0",
"license": "MIT",
"angular-cli": {},
"scripts": {
"start": "ng serve",
"postinstall": "typings install",
"lint": "tslint \"src/**/*.ts\"",
"test": "ng test",