openapi3-ts
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -88,5 +88,3 @@ import { ISpecificationExtension } from "./SpecificationExtension"; | ||
servers?: ServerObject; | ||
parameters?: { | ||
[param: string]: ParameterObject; | ||
}; | ||
parameters?: (ParameterObject | ReferenceObject)[]; | ||
} | ||
@@ -93,0 +91,0 @@ export interface OperationObject extends ISpecificationExtension { |
{ | ||
"name": "openapi3-ts", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "TS Model & utils for OpenAPI 3.0.x specification.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -247,12 +247,3 @@ import "mocha"; | ||
}); | ||
xit("getSpecAsJson", () => { | ||
let sut = OpenApiBuilder.create() | ||
.addTitle("app9") | ||
.addVersion("5.6.7") | ||
.getSpecAsYaml(); | ||
expect(sut).eql( | ||
`` | ||
); | ||
}); | ||
}); | ||
}); |
@@ -71,3 +71,3 @@ // Typed interfaces for OpenAPI 3.0.0-RC | ||
servers?: ServerObject; | ||
parameters?: { [param: string]: ParameterObject }; | ||
parameters?: (ParameterObject | ReferenceObject)[]; | ||
} | ||
@@ -74,0 +74,0 @@ export interface OperationObject extends ISpecificationExtension { |
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
124355
39
1452