Last active
June 8, 2024 04:44
-
-
Save Dogacel/bfa94713eb3202d4a1f02f057ad1a066 to your computer and use it in GitHub Desktop.
$defs block for the armeria grpc tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"$id": "armeria.grpc.testing.TestService/UnaryCallWithAllDifferentParameterTypes/POST", | |
"title": "UnaryCallWithAllDifferentParameterTypes", | |
"description": " This method's parameter message contains all different types of parameters\n as well as the response type contains all different types of parameters.\n Can be used to check any kind of serialization issues.\n", | |
"additionalProperties": false, | |
"type": "object", | |
"properties": { | |
"bool": { | |
"type": "boolean" | |
}, | |
"int32": { | |
"type": "integer" | |
}, | |
"int64": { | |
"type": "integer" | |
}, | |
"uint32": { | |
"type": "integer" | |
}, | |
"uint64": { | |
"type": "integer" | |
}, | |
"sint32": { | |
"type": "integer" | |
}, | |
"sint64": { | |
"type": "integer" | |
}, | |
"fixed32": { | |
"type": "integer" | |
}, | |
"fixed64": { | |
"type": "integer" | |
}, | |
"float": { | |
"type": "number" | |
}, | |
"double": { | |
"type": "number" | |
}, | |
"string": { | |
"type": "string" | |
}, | |
"bytes": { | |
"type": "string" | |
}, | |
"test_enum": { | |
"type": "string", | |
"enum": [ | |
"ZERO", | |
"ONE", | |
"TWO" | |
] | |
}, | |
"nested": { | |
"$ref": "#/$defs/armeria.grpc.testing.ExtendedTestMessage.Nested" | |
}, | |
"complex_other_message": { | |
"$ref": "#/$defs/armeria.grpc.testing.TestMessage" | |
}, | |
"strings": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"nesteds": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/armeria.grpc.testing.ExtendedTestMessage.Nested" | |
} | |
}, | |
"selves": { | |
"type": "array", | |
"items": { | |
"$ref": "#" | |
} | |
}, | |
"string_to_int_map": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "integer" | |
} | |
}, | |
"int_to_string_map": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "string" | |
} | |
}, | |
"message_map": { | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/$defs/armeria.grpc.testing.ExtendedTestMessage.Nested" | |
} | |
}, | |
"self_map": { | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#" | |
} | |
}, | |
"self": { | |
"$ref": "#" | |
}, | |
"nested_self": { | |
"$ref": "#/$defs/armeria.grpc.testing.ExtendedTestMessage.NestedSelf" | |
}, | |
"nested_nested_self": { | |
"$ref": "#/$defs/armeria.grpc.testing.ExtendedTestMessage.NestedNestedSelf" | |
} | |
}, | |
"required": [], | |
"$defs": { | |
"armeria.grpc.testing.ExtendedTestMessage.Nested": { | |
"additionalProperties": false, | |
"properties": { | |
"string": { | |
"type": "string" | |
} | |
}, | |
"required": [] | |
}, | |
"armeria.grpc.testing.TestMessage.Nested": { | |
"additionalProperties": false, | |
"properties": { | |
"string": { | |
"type": "string" | |
} | |
}, | |
"required": [] | |
}, | |
"armeria.grpc.testing.TestMessage": { | |
"additionalProperties": false, | |
"properties": { | |
"bool": { | |
"type": "boolean" | |
}, | |
"int32": { | |
"type": "integer" | |
}, | |
"int64": { | |
"type": "integer" | |
}, | |
"uint32": { | |
"type": "integer" | |
}, | |
"uint64": { | |
"type": "integer" | |
}, | |
"sint32": { | |
"type": "integer" | |
}, | |
"sint64": { | |
"type": "integer" | |
}, | |
"fixed32": { | |
"type": "integer" | |
}, | |
"fixed64": { | |
"type": "integer" | |
}, | |
"float": { | |
"type": "number" | |
}, | |
"double": { | |
"type": "number" | |
}, | |
"string": { | |
"type": "string" | |
}, | |
"bytes": { | |
"type": "string" | |
}, | |
"test_enum": { | |
"type": "string", | |
"enum": [ | |
"ZERO", | |
"ONE", | |
"TWO" | |
] | |
}, | |
"nested": { | |
"$ref": "#/$defs/armeria.grpc.testing.TestMessage.Nested" | |
}, | |
"strings": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"map": { | |
"type": "object", | |
"additionalProperties": { | |
"type": "integer" | |
} | |
}, | |
"self": { | |
"$ref": "#/$defs/armeria.grpc.testing.TestMessage" | |
} | |
}, | |
"required": [] | |
}, | |
"armeria.grpc.testing.ExtendedTestMessage.NestedSelf": { | |
"additionalProperties": false, | |
"properties": { | |
"self": { | |
"$ref": "#" | |
} | |
}, | |
"required": [] | |
}, | |
"armeria.grpc.testing.ExtendedTestMessage.NestedNestedSelf": { | |
"additionalProperties": false, | |
"properties": { | |
"nested_self": { | |
"$ref": "#/$defs/armeria.grpc.testing.ExtendedTestMessage.NestedSelf" | |
} | |
}, | |
"required": [] | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment