1. A method for validating documentation of a representational state transfer (REST) service, the method comprising: detecting one or more messages for a REST service by a validator, wherein the one or more messages are intercepted by the validator for the REST service; translating, by the validator, documentation of the REST service into a representation of an automaton; and validating the one or more messages by the validator based on the automaton, wherein validation of the messages determines conformance of the REST service to the documentation of the REST service.