rest api specification example