Node Summit 2017 – MALCOLM: TIGHTEN THE CONNECTION BETWEEN YOUR RAML SWAGGER AND YOUR CODE – Mike Fine
Stop writing web services that are described by RAML/Swagger but which do not use the semantics of that metadata within your implementation. This causes “drift” between your RAML/Swagger and reality, frustrating your API users. Stop writing web service implementation code that repeats the same boring, low-value parameter marshaling and validation code. Instead, embrace your RAML/Swagger as the basis of your web service implementation, and flow requests through a layer of software that “pre-processes” incoming requests and marshals all parameter values. Even more, get things like built-in fake data response support, dynamic API documentation, simple request/response statistics, and more.
Speaker:
Mike Fine, Software Architect, Comcast
Location: Level 1, Fisher East