apibuilder-js
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -348,3 +348,3 @@ import { FullyQualifiedName } from '../language'; | ||
constructor(config: ApiBuilderOperationConfig, resource: ApiBuilderResource, service: ApiBuilderService); | ||
get body(): ApiBuilderBodyConfig | undefined; | ||
get body(): ApiBuilderBody | undefined; | ||
get method(): ApiBuilderMethod; | ||
@@ -351,0 +351,0 @@ get isDeprecated(): boolean; |
@@ -615,3 +615,6 @@ "use strict"; | ||
get: function () { | ||
return this.config.body; | ||
if (this.config.body != null) { | ||
return new ApiBuilderBody(this.config.body, this.service); | ||
} | ||
return undefined; | ||
}, | ||
@@ -618,0 +621,0 @@ enumerable: true, |
{ | ||
"name": "apibuilder-js", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "A reference implementation of API Builder for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -747,3 +747,7 @@ import { camelCase, flatMap, map, matchesProperty, overSome, snakeCase, toUpper, upperFirst } from 'lodash'; | ||
get body() { | ||
return this.config.body; | ||
if (this.config.body != null) { | ||
return new ApiBuilderBody(this.config.body, this.service); | ||
} | ||
return undefined; | ||
} | ||
@@ -750,0 +754,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290424
9442