mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Register 12 new JSON filenames/extensions (#4053)
Added: * .avsc * .gltf * .htmlhintrc * .jscsrc * .jslintrc * .jsonl * .tern-config * .tern-project * .tfstate * .tfstate.backup * .webapp * .webmanifest
This commit is contained in:
18
samples/JSON/http_response.avsc
Normal file
18
samples/JSON/http_response.avsc
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type": "record",
|
||||
"name": "Response",
|
||||
"namespace": "org.rflow.message.data.http",
|
||||
"aliases": [],
|
||||
"fields": [
|
||||
{"name": "client_ip", "type": ["string", "null"]},
|
||||
{"name": "client_port", "type": ["int", "null"]},
|
||||
{"name": "server_ip", "type": ["string", "null"]},
|
||||
{"name": "server_port", "type": ["int", "null"]},
|
||||
|
||||
{"name": "protocol", "type": "string"},
|
||||
{"name": "status_code", "type": "int"},
|
||||
{"name": "status_reason_phrase", "type": "string"},
|
||||
{"name": "headers", "type": {"type": "map", "values": "string"}},
|
||||
{"name": "content", "type": "bytes"}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user