fix(swagger): update netip.Addr definition type to string

This commit is contained in:
yusing
2025-11-14 22:28:29 +08:00
parent 28fdf3d2f4
commit a291a49a0e
2 changed files with 24 additions and 1 deletions

View File

@@ -5261,7 +5261,16 @@
"x-omitempty": false
},
"netip.Addr": {
"type": "object",
"anyOf": [
{
"type": "string",
"format": "ipv4"
},
{
"type": "string",
"format": "ipv6"
}
],
"x-nullable": false,
"x-omitempty": false
},