

Stability: () produces : - text/plain parameters : - name : name in : path description : The name of the user type : string required : true responses : '200' : description : The definition for the given term type : string summary_data : request : uri : " to for the provided name. request : method : get uri : query : action : history # Second request, executed in parallel with wiki_page. wiki_page_history : # The request name can be used to reference the response later. The x-setup-handler stanza is typically used to set up storage or do any preparational requests needed on startup. If more complex functionality is needed, then this can be added with JS modules, which can either take over the handling of the entire request, or add handler-specific functionality to the handler templating environment. Together, these handlers can make it easy to hook up common behaviours without having to write code. x-setup-handler is run during RESTBase start-up, while the x-request-handler is executed on every incoming request, and can be made up of multiple sub-requests executed in a sequence of steps. HyperSwitch was initially developed for Wikimedia's RESTBase REST API.ĪPI documentation Request handler spec: x-request-handler General model Įach swagger end point can optionally define two declarative handlers: x-setup-handler and x-request-handler. This avoids duplication, ensures consistency between specs & actual API operation, and automates spec-driven features like request validation, testing and monitoring. Its defining feature is its use of modular Swagger specs for the service configuration. HyperSwitch is a framework for creating REST web services.
