//flynt-disable missing-array-limits, missing-field-comments, missing-string-validations, unsigned-integers-not-allowed, package-matches-structure
syntax = "proto3";

package com.wixpress.rest;

import "google/protobuf/wrappers.proto";

message RawHttpResponse {
    bytes body = 2;
    google.protobuf.UInt32Value status_code = 3;
    repeated HeadersEntry headers = 4;
}



message RawHttpRequest {
    bytes body = 1;
    repeated PathParametersEntry path_params = 2;
    repeated QueryParametersEntry query_params = 3;
    repeated HeadersEntry headers = 4;
    string method = 5;
    string raw_path = 6;
    string raw_query = 7;
}

message PathParametersEntry {
     string key = 1;
     string value = 2;
}

message QueryParametersEntry {
    string key = 1;
    string value = 2;
}

message HeadersEntry {
    string key = 1;
    string value = 2;
}
