Skip to content

Releases: apigee-127/swagger-converter

v0.1.7

15 Jun 20:19
Compare
Choose a tag to compare

Patch: #25

v0.1.6

15 Jun 18:22
Compare
Choose a tag to compare

Thanks to @IvanGoncharov for submitting #24 pull request.

Changes

  • Simplify type conversion for Schema Object attributes (1fbc73a)
  • Fix incorrect JSON Refs inside 'items' attribute (9cddd15)
  • Fix default values inside test cases (df88820)
  • Correctly implement response schema (cde47dd)
  • Handle parameters for body type differently (390cfa5)

v0.1.5

08 Jun 14:55
Compare
Choose a tag to compare

Added support for a spec without models #22

v0.1.4

07 Jun 19:05
Compare
Choose a tag to compare

Use browser.js for bower main file d465364

0.1.3

01 Jun 16:15
Compare
Choose a tag to compare

Added support for tags and reference of non-primitive model properties #21

0.1.2

28 May 22:10
Compare
Choose a tag to compare

New patch: #20

v0.1.0

15 Dec 20:07
Compare
Choose a tag to compare
  • It doesn't modify input objects anymore
  • Multiple fixes in converting parameters
  • parseInt filed.minimum/maximum only if type is integer
  • Improved testing
  • Improvements to browser version files (minified file)
  • Improved build process

v0.0.5

11 Dec 22:26
Compare
Choose a tag to compare

Included Browserified browser.js

v0.0.4

11 Dec 21:33
Compare
Choose a tag to compare
  • Fixed bug in authorization scope converstion
  • Make apiDeclarations optional
  • Add browser support and bower
  • Fix problem where references were create for primitive types
  • Do not fix references that have already been fixed
  • Fix protocol colon issue Fixed #5

v0.0.3

11 Dec 19:09
Compare
Choose a tag to compare

Sync API

/*
 * Converts Swagger 1.2 specs file to Swagger 2.0 specs.
 * @param resourceListing {object} - root Swagger 1.2 document where it has a
 *  list of all paths
 * @param apiDeclarations {array} - a list of all resources listed in 
 * resourceListing. Array of objects
 * @returns {object} - Fully converted Swagger 2.0 document
*/
module.exports = function convert(resourceListing, apiDeclarations) {