Skip to content

Commit

Permalink
Merge pull request #813 from Ostorlab/feature/Proto-Update-for-Suppor…
Browse files Browse the repository at this point in the history
…ting-Header-Types

Add extra_headers to all v3.asset.file.api_schema protos
  • Loading branch information
3asm authored Oct 1, 2024
2 parents b2ccba6 + 64a37a9 commit 01ca94f
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 670 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ testing =
pytest-asyncio
pytest-mock
pytest-timeout
pytest-httpx
pytest-httpx==0.30.0

scanner =
psutil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ message AndroidMetadata {
message IOSMetadata {
optional string bundle_id = 1;
}

message Header {
optional string name = 1;
optional string value = 2;
}

message Message{
optional bytes content = 1;
optional bytes content = 1;
optional string path = 2;
optional string content_url = 3;
oneof metadata_oneof {
Expand All @@ -19,4 +25,5 @@ message Message{
}
optional string endpoint_url = 6;
optional string schema_type = 7;
repeated Header extra_headers = 8;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ message AndroidMetadata {
message IOSMetadata {
optional string bundle_id = 1;
}

message Header {
optional string name = 1;
optional string value = 2;
}

message Message{
optional bytes content = 1;
optional bytes content = 1;
optional string path = 2;
optional string content_url = 3;
oneof metadata_oneof {
Expand All @@ -19,4 +25,5 @@ message Message{
}
optional string endpoint_url = 6;
optional string schema_type = 7 [default = "graphql"];
}
repeated Header extra_headers = 8;
}
Loading

0 comments on commit 01ca94f

Please sign in to comment.