Граф коммитов

340 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Whitlock 6a04cb4d7e Added more tests for circular composition/inheritance
* Upgraded json-refs to work around a bug
* Updated intra-schema references to reference ancestors
2015-07-21 14:02:11 -06:00
Jeremy Whitlock 2094588879 Added semantic validation for circular composition/inheritance 2015-07-21 11:56:09 -06:00
Jeremy Whitlock 37e4044796 Updated project dependencies 2015-07-20 11:35:09 -06:00
Jeremy Whitlock a7a285bac5 Updated test suite to use Karma 2015-07-20 11:10:30 -06:00
Jeremy Whitlock a248210ba9 Fix NPM packaging 2015-07-17 17:10:04 -06:00
Jeremy Whitlock ee2c8bc4ea Updating file sizes for standalone builds 2015-07-11 09:32:45 -06:00
Jeremy Whitlock de953b237e Added semantic validation for unique operationIds 2015-07-09 19:46:15 -06:00
Jeremy Whitlock 404f821291 Update json-refs 2015-07-08 22:49:47 -06:00
Jeremy Whitlock 564c203f4f Change formatting of Semantic Validation table 2015-07-02 16:54:36 -06:00
Jeremy Whitlock 707e35045a Added back the semantic validation for unused definitions 2015-07-02 15:55:42 -06:00
Jeremy Whitlock 854266f843 Fixed unresolvable reference validation to check security and security scopes 2015-07-02 15:14:28 -06:00
Jeremy Whitlock 227fde6c1c Added back the semantic validation for required schema object property definitions 2015-07-01 15:31:24 -06:00
Jeremy Whitlock 4ad8278982 Added back the semantic validation for duplicate parameters
* Path-level
* Operation-level
2015-06-30 14:42:40 -06:00
Jeremy Whitlock 547f446461 Added back the semantic validation for an operation having both a body parameter and a formData parameter 2015-06-29 13:21:17 -06:00
Jeremy Whitlock 704df303f4 Added back the semantic validation for an operation having multiple body parameters 2015-06-29 13:09:23 -06:00
Jeremy Whitlock b02d2a9081 Added back the semantic validation for missing references 2015-06-29 11:18:08 -06:00
Jeremy Whitlock aa5a7acbb8 Added back the semantic validation for default values 2015-06-26 15:41:08 -06:00
Jeremy Whitlock 9dd52d0277 Added back the semantic validation various path/path parameter checks
* All path parameter declarations need matching path parameter definitions
* All path parameter definitions need matching path parameter declarations
* All path strings must be equivalently different
2015-06-26 09:14:19 -06:00
Jeremy Whitlock bc4615e529 Added back the semantic validation for required array items 2015-06-16 20:53:13 -06:00
Jeremy Whitlock 58aea79902 Refactored the validation API
* Made SwaggerApi#validate return validation result (Has more than 0
  errors)
* Added SwaggerApi#getLastErrors and SwaggerApi#getLastWarnings to get
  access to the errors/warnings from the last SwaggerApi#validate call
2015-06-11 19:08:02 -06:00
Jeremy Whitlock 371d1a2645 First pass at wiring up validation APIs
* Current validation only does JSON Schema validation
2015-06-11 10:45:45 -06:00
Jeremy Whitlock 77d2780726 First pass at adding APIs to get sample/mock values
* Operation#getResponseSample(code)
* Parameter#getSample()
2015-06-05 16:42:04 -06:00
Jeremy Whitlock 560b873c2b Various developer side cleanups
* Updated API documentation to only include *public* APIs/types
* Use gulp-load-plugins in the Gulp file
2015-06-03 12:17:15 -06:00
Jeremy Whitlock 110e96f391 First pass at adding APIs to get the JSON Schema for objects
* Operation#getResponseSchema(code)
* Parameter#getSchema()
2015-06-03 11:47:14 -06:00
Jeremy Whitlock 64f63e0c5d Reposition the Gitter badge 2015-05-28 09:32:02 -06:00
Jeremy Whitlock 752804b5e3 Merge pull request #2 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2015-05-28 09:31:30 -06:00
The Gitter Badger 29bb48aa9a Added Gitter badge 2015-05-28 15:25:47 +00:00
Jeremy Whitlock e9145eaa7b Updated type constructors to indicate that they should not be called directly 2015-05-26 15:51:40 -06:00
Jeremy Whitlock 6b573fe79c Minor change to API documentation 2015-05-26 15:21:15 -06:00
Jeremy Whitlock 6d8161b2d4 Fix TravisCI (lint) 2015-05-26 14:41:52 -06:00
Jeremy Whitlock 4b0cde5462 An attempt at Markdown-based documentation 2015-05-26 14:35:01 -06:00
Jeremy Whitlock 24147b5fc7 First pass at the Operation and Parameter types 2015-05-26 11:45:53 -06:00
Jeremy Whitlock ce400efb05 Added disclaimer to documentation 2015-05-14 17:10:52 -06:00
Jeremy Whitlock 77d434e051 Added example for `swaggerApi.create` 2015-05-14 17:09:33 -06:00
Jeremy Whitlock f776331e91 Updated README with real standalone binary sizes 2015-05-14 17:03:08 -06:00
Jeremy Whitlock c1a8bf1dba Added support for loading a Swagger document 2015-05-14 16:45:17 -06:00
Jeremy Whitlock 06400c1aaf Merge pull request #1 from apigee-127/npm-scripts-nitpick
Don't use Unix paths in npm scripts
2015-04-30 10:08:49 -07:00
Mohsen Azimi 3293302973 Don't use Unix paths in npm scripts
npm will use local `.bin` folder. Please see https://docs.npmjs.com/misc/scripts#path
2015-04-30 09:42:26 -07:00
Jeremy Whitlock 3ec9119d93 v0.0.1 2015-04-09 19:29:34 -06:00
Jeremy Whitlock 6ac8fc8e21 Initial project structure. 2015-04-09 19:24:39 -06:00