api: add tunnel and profile to RTSP conns and sessions (#4985)

This commit is contained in:
Alessandro Ros 2025-09-17 22:18:21 +02:00 committed by GitHub
parent 890d4272cd
commit 558d1c3818
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 54 additions and 6 deletions

View file

@ -157,6 +157,12 @@ func TestAPIDocs(t *testing.T) {
case sf.Type == reflect.TypeOf(""):
content2.Properties[js] = openAPIProperty{Type: "string"}
case sf.Type == reflect.PointerTo(reflect.TypeOf("")):
content2.Properties[js] = openAPIProperty{
Type: "string",
Nullable: true,
}
case sf.Type == reflect.TypeOf(int(0)):
content2.Properties[js] = openAPIProperty{Type: "integer", Format: "int64"}