Skip to content

Instantly share code, notes, and snippets.

@alanboy
Created July 18, 2020 19:25
Show Gist options
  • Save alanboy/45ce792255e079dd0de4f70449ebf455 to your computer and use it in GitHub Desktop.
Save alanboy/45ce792255e079dd0de4f70449ebf455 to your computer and use it in GitHub Desktop.
12:24:34.656 [main] DEBUG io.swagger.v3.parser.OpenAPIV3Parser - Loaded raw data: openapi: 3.0.2
info:
title: title
version: 1.0.0
paths:
'/instances/{id}':
summary: Manipulate a particular instance
get:
responses:
'200':
description: Ok
content:
text/plain:
schema:
type: string
example: pong
summary: Fetches an instance
parameters:
- in: path
name: id
schema:
type: integer
required: true
components:
securitySchemes:
bearerAuth:
scheme: bearer
bearerFormat: JWT
type: http
12:24:34.715 [main] DEBUG io.swagger.v3.parser.OpenAPIV3Parser - Parsed rootNode: {"openapi":"3.0.2","info":{"title":"title","version":"1.0.0"},"paths":{"/instances/{id}":{"summary":"Manipulate a particular instance","get":{"responses":{"200":{"description":"Ok","content":{"text/plain":{"schema":{"type":"string","example":"pong"}}}}},"summary":"Fetches an instance"},"parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}]}},"components":{"securitySchemes":{"bearerAuth":{"scheme":"bearer","bearerFormat":"JWT","type":"http"}}}}
12:24:34.849 [main] WARN io.swagger.codegen.v3.ignore.CodegenIgnoreProcessor - Output directory does not exist, or is inaccessible. No file (.swagger-codegen-ignore) will be evaluated.
12:24:34.849 [main] INFO io.swagger.codegen.v3.generators.typescript.TypeScriptAngularClientCodegen - generating code for Angular 8.0.0 ...
12:24:34.849 [main] INFO io.swagger.codegen.v3.generators.typescript.TypeScriptAngularClientCodegen - (you can select the angular version by setting the additionalProperty ngVersion)
12:24:34.878 [main] INFO io.swagger.codegen.v3.DefaultGenerator - processOperation: resourcePath= /instances/{id} ;get class Operation {
tags: null
summary: Fetches an instance
description: null
externalDocs: null
operationId: null
parameters: null
requestBody: null
responses: class ApiResponses {
{200=class ApiResponse {
description: Ok
headers: null
content: class Content {
{text/plain=class MediaType {
schema: class StringSchema {
class Schema {
type: string
format: null
$ref: null
description: null
title: null
multipleOf: null
maximum: null
exclusiveMaximum: null
minimum: null
exclusiveMinimum: null
maxLength: null
minLength: null
pattern: null
maxItems: null
minItems: null
uniqueItems: null
maxProperties: null
minProperties: null
required: null
not: null
properties: null
additionalProperties: null
nullable: null
readOnly: null
writeOnly: null
example: pong
externalDocs: null
deprecated: null
discriminator: null
xml: null
}
}
examples: null
example: null
encoding: null
}}
}
links: null
extensions: null
$ref: null
}}
extensions: null
}
callbacks: null
deprecated: null
security: null
servers: null
}
12:24:34.886 [main] WARN io.swagger.codegen.v3.generators.DefaultCodegenConfig - Empty operationId found for path: get /instances/{id}. Renamed to auto-generated operationId: instancesIdGet
12:24:35.010 [main] DEBUG io.swagger.codegen.v3.generators.examples.ExampleGenerator - Example set in swagger spec, returning example: 'pong'
12:24:35.050 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - About to parse: /handlebars/typescript-angular/api.service.mustache
12:24:35.127 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Building AST
12:24:35.244 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Applying Mustache spec
12:24:35.257 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Creating templates
12:24:35.294 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - About to parse: /handlebars/typescript-angular/licenseInfo.mustache
12:24:35.294 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Building AST
12:24:35.297 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Applying Mustache spec
12:24:35.298 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Creating templates
12:24:35.304 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code\typescript-angular-builtin\api\default.service.ts
12:24:35.307 [main] INFO io.swagger.codegen.v3.DefaultGenerator - ############ Operation info ############
[ {
"importPath" : "api/default.service",
"zonejsVersion" : "0.9.1",
"appVersion" : "1.0.0",
"generatedYear" : "2020",
"generatorClass" : "io.swagger.codegen.v3.generators.typescript.TypeScriptAngularClientCodegen",
"modelPackage" : "model",
"sortParamsByRequiredFlag" : true,
"classVarName" : "default",
"hasModel" : false,
"authMethods" : [ {
"vendorExtensions" : {
"x-has-more" : false,
"x-is-bearer" : true
},
"name" : "bearerAuth",
"type" : "http",
"isApplication" : false,
"hasScopes" : false,
"isKeyInHeader" : false,
"isBasic" : false,
"isBearer" : true,
"isOAuth" : false,
"isCode" : false,
"isImplicit" : false,
"isKeyInQuery" : false,
"isApiKey" : false,
"isPassword" : false,
"isPrimitiveType" : false,
"isAlias" : false,
"isCollectionFormatMulti" : false,
"isDateTime" : false,
"isNumeric" : false,
"isUuid" : false,
"isEnum" : false,
"isReadOnly" : false,
"isDouble" : false,
"isBinary" : false,
"isArrayModel" : false,
"isMultipart" : false,
"isLong" : false,
"isNumber" : false,
"isFile" : false,
"isContainer" : false,
"isDate" : false,
"hasHeaders" : false,
"isByteArray" : false,
"isDefault" : false,
"hasMore" : false,
"isInteger" : false,
"isBoolean" : false,
"isString" : false,
"isFloat" : false,
"isMapContainer" : false,
"isResponseFile" : false,
"isListContainer" : false,
"isResponseBinary" : false,
"isNotContainer" : false
} ],
"generateModelDocs" : true,
"injectionToken" : "InjectionToken",
"generateModelTests" : true,
"basePathWithoutHost" : "",
"tsVersion" : ">=3.4.0 <3.6.0",
"generateApiTests" : true,
"classFilename" : "default.service",
"operations" : {
"classname" : "DefaultService",
"apiFilename" : "default.service",
"operation" : [ {
"vendorExtensions" : {
"x-has-consumes" : false,
"x-has-required-params" : false,
"x-is-restful-show" : false,
"x-is-get-method" : true,
"x-has-reference" : false,
"x-is-restful-index" : false,
"x-is-restful-destroy" : false,
"x-has-more" : false,
"x-has-optional-params" : false,
"x-is-restful" : false,
"x-is-restful-update" : false,
"x-has-produces" : true,
"x-is-restful-create" : false
},
"responseHeaders" : [ ],
"returnTypeIsPrimitive" : true,
"returnSimpleType" : true,
"subresourceOperation" : false,
"path" : "/instances/${encodeURIComponent(String(id))}",
"operationId" : "instancesIdGet",
"returnType" : "string",
"httpMethod" : "get",
"returnBaseType" : "string",
"summary" : "Fetches an instance",
"baseName" : "Default",
"defaultResponse" : "undefined",
"produces" : [ {
"mediaType" : "text/plain"
} ],
"contents" : [ {
"parameters" : [ ],
"contentExtensions" : { },
"isForm" : false
} ],
"allParams" : [ ],
"bodyParams" : [ ],
"pathParams" : [ ],
"queryParams" : [ ],
"headerParams" : [ ],
"cookieParams" : [ ],
"formParams" : [ ],
"requiredParams" : [ ],
"tags" : [ {
"name" : "default"
} ],
"responses" : [ {
"vendorExtensions" : {
"x-has-headers" : false,
"x-is-primitive-type" : true,
"x-has-more" : false,
"x-is-simple-type" : true,
"x-is-string" : true,
"x-is-default" : true
},
"headers" : [ ],
"code" : "200",
"message" : "Ok",
"contents" : [ ],
"dataType" : "string",
"baseType" : "string",
"schema" : {
"type" : "string",
"example" : "pong",
"x-content-type" : "text/plain"
},
"jsonSchema" : "{\r\n \"description\" : \"Ok\",\r\n \"content\" : {\r\n \"text/plain\" : {\r\n \"schema\" : {\r\n \"type\" : \"string\",\r\n \"example\" : \"pong\",\r\n \"x-content-type\" : \"text/plain\"\r\n }\r\n }\r\n }\r\n}",
"primitiveType" : true,
"simpleType" : true,
"wildcard" : false,
"isPrimitiveType" : true,
"isAlias" : false,
"isCollectionFormatMulti" : false,
"isDateTime" : false,
"isNumeric" : false,
"isUuid" : false,
"isEnum" : false,
"isReadOnly" : false,
"isDouble" : false,
"isBinary" : false,
"isArrayModel" : false,
"isMultipart" : false,
"isLong" : false,
"isNumber" : false,
"isFile" : false,
"isContainer" : false,
"isDate" : false,
"hasHeaders" : false,
"isByteArray" : false,
"isDefault" : true,
"hasMore" : false,
"isInteger" : false,
"isBoolean" : false,
"isString" : true,
"isFloat" : false,
"isMapContainer" : false,
"isResponseFile" : false,
"isListContainer" : false,
"isResponseBinary" : false,
"isNotContainer" : false
} ],
"imports" : [ ],
"examples" : [ {
"contentType" : "application/json",
"example" : "\"pong\""
} ],
"nickname" : "instancesIdGet",
"operationIdLowerCase" : "instancesidget",
"operationIdCamelCase" : "InstancesIdGet",
"operationIdSnakeCase" : "instances_id_get",
"hasBodyParam" : false,
"isRestfulShow" : false,
"isRestful" : false,
"isRestfulUpdate" : false,
"isRestfulIndex" : false,
"isRestfulCreate" : false,
"isRestfulDestroy" : false,
"hasPathParams" : false,
"hasFormParams" : false,
"hasExamples" : true,
"isBodyAllowed" : false,
"hasProduces" : true,
"hasReference" : false,
"hasConsumes" : false,
"hasParams" : false,
"isDeprecated" : false,
"hasQueryParams" : false,
"hasHeaderParams" : false,
"hasRequiredParams" : false,
"hasCookieParams" : false,
"hasAuthMethods" : false,
"hasOptionalParams" : false,
"isPrimitiveType" : false,
"isAlias" : false,
"isCollectionFormatMulti" : false,
"isDateTime" : false,
"isNumeric" : false,
"isUuid" : false,
"isEnum" : false,
"isReadOnly" : false,
"isDouble" : false,
"isBinary" : false,
"isArrayModel" : false,
"isMultipart" : false,
"isLong" : false,
"isNumber" : false,
"isFile" : false,
"isContainer" : false,
"isDate" : false,
"hasHeaders" : false,
"isByteArray" : false,
"isDefault" : false,
"hasMore" : false,
"isInteger" : false,
"isBoolean" : false,
"isString" : false,
"isFloat" : false,
"isMapContainer" : false,
"isResponseFile" : false,
"isListContainer" : false,
"isResponseBinary" : false,
"isNotContainer" : false
} ],
"pathPrefix" : "default"
},
"tsickleVersion" : "0.35.0",
"useHttpClient" : true,
"hideGenerationTimestamp" : true,
"baseName" : "Default",
"ngPackagrVersion" : "5.4.0",
"unescapedAppDescription" : "No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)",
"package" : "api",
"imports" : [ ],
"useNgPackagr" : true,
"rxjsVersion" : "6.5.0",
"appName" : "title",
"hasAuthMethods" : true,
"contextPath" : "",
"appDescription" : "No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)",
"useRxJS6" : true,
"generateApiDocs" : true,
"generatorVersion" : "3.0.20",
"version" : "1.0.0",
"ngVersion" : {
"major" : 8,
"minor" : 0,
"revision" : 0
},
"useOas2" : false,
"useOldNgPackagr" : false,
"basePath" : "/",
"injectionTokenTyped" : true,
"classname" : "DefaultService",
"generatedDate" : "2020-07-18T12:24:34.857-07:00[America/Los_Angeles]",
"useHttpClientPackage" : false
} ]
12:24:35.335 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - About to parse: /handlebars/typescript-angular/models.mustache
12:24:35.335 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Building AST
12:24:35.336 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Applying Mustache spec
12:24:35.336 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Creating templates
12:24:35.336 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code/typescript-angular-builtin\model\models.ts
12:24:35.337 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - About to parse: /handlebars/typescript-angular/apis.mustache
12:24:35.337 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Building AST
12:24:35.338 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Applying Mustache spec
12:24:35.339 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Creating templates
12:24:35.340 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code/typescript-angular-builtin\api\api.ts
12:24:35.341 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - About to parse: /handlebars/typescript-angular/index.mustache
12:24:35.341 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Building AST
12:24:35.342 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Applying Mustache spec
12:24:35.342 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Creating templates
12:24:35.342 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code/typescript-angular-builtin\index.ts
12:24:35.343 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - About to parse: /handlebars/typescript-angular/api.module.mustache
12:24:35.344 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Building AST
12:24:35.349 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Applying Mustache spec
12:24:35.349 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Creating templates
12:24:35.350 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code/typescript-angular-builtin\api.module.ts
12:24:35.351 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - About to parse: /handlebars/typescript-angular/configuration.mustache
12:24:35.351 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Building AST
12:24:35.357 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Applying Mustache spec
12:24:35.358 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Creating templates
12:24:35.360 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code/typescript-angular-builtin\configuration.ts
12:24:35.362 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - About to parse: /handlebars/typescript-angular/variables.mustache
12:24:35.363 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Building AST
12:24:35.365 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Applying Mustache spec
12:24:35.365 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Creating templates
12:24:35.365 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code/typescript-angular-builtin\variables.ts
12:24:35.368 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - About to parse: /handlebars/typescript-angular/encoder.mustache
12:24:35.368 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Building AST
12:24:35.370 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Applying Mustache spec
12:24:35.370 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Creating templates
12:24:35.371 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code/typescript-angular-builtin\encoder.ts
12:24:35.372 [main] INFO io.swagger.codegen.v3.DefaultGenerator - writing file generated-code\typescript-angular-builtin\.gitignore
12:24:35.373 [main] INFO io.swagger.codegen.v3.DefaultGenerator - writing file generated-code\typescript-angular-builtin\.npmignore
12:24:35.374 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - About to parse: /handlebars/typescript-angular/git_push.sh.mustache
12:24:35.374 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Building AST
12:24:35.377 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Applying Mustache spec
12:24:35.378 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Creating templates
12:24:35.379 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code/typescript-angular-builtin\git_push.sh
12:24:35.380 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - About to parse: /handlebars/typescript-angular/ng-package.mustache
12:24:35.381 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Building AST
12:24:35.381 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Applying Mustache spec
12:24:35.381 [main] DEBUG com.github.jknack.handlebars.internal.HbsParserFactory - Creating templates
12:24:35.381 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code/typescript-angular-builtin\ng-package.json
12:24:35.385 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code/typescript-angular-builtin\.swagger-codegen-ignore
12:24:35.386 [main] INFO io.swagger.codegen.v3.AbstractGenerator - writing file generated-code/typescript-angular-builtin\.swagger-codegen\VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment