update swagger to our release with go1.23 fix

This commit is contained in:
kim 2024-11-25 13:14:09 +00:00
commit e3a98b0de4
5 changed files with 10 additions and 6 deletions

View file

@ -303,6 +303,8 @@ func (s *schemaBuilder) buildFromType(tpe types.Type, tgt swaggerTypable) error
}
switch titpe := tpe.(type) {
case *types.Alias:
return nil // resolves panic
case *types.Basic:
return swaggerSchemaForType(titpe.String(), tgt)
case *types.Pointer: