bug2783

package
v0.36.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package bug2783 reproduces go-swagger issue #2783 ("Models get mixed when using structs from several packages"): two packages each declare a swagger:model named Test. They collide on the short definition key "Test" and silently merge into one definition (union of fields, last package wins), instead of being disambiguated.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestResponseBody

type TestResponseBody struct {
	Test1 b.Test `json:"test1"`
	Test2 c.Test `json:"test2"`
}

swagger:model TestResponseBody

Directories

Path Synopsis
b
c

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL