A significant amount of refactoring / redesigning to allow the support of more than one API per endpoint.
Introduces the concept of anEndpoint per url in a Raml definition, which can then have a map of http request types to Action objects which store the behaviour for that particular method.
Refactored unit tests to account for this in quite a substantial way, also introduced a lot more to get coverage up.
With a bit more refactoring, this should also pave the way to make the future goal of dynamic url parameters.
Much better support for get requests.
Removed a few bugs where they weren't returning examples correctly.
Added additional parameter check to ensure numbers are only numbers.
Better unit testing for parameter checks in validation module.
Following agreement to do so, ripped out the swagger support - this will not longer be supported (for now?)
Endpoint
per url in a Raml definition, which can then have a map of http request types toAction
objects which store the behaviour for that particular method.