github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/examples/external-types/restapi/doc.go (about) 1 // Code generated by go-swagger; DO NOT EDIT. 2 3 // Package restapi external types imports: external anonymous types 4 // 5 // This sample specification exercises external types, with both x-go-type in definitions and inlined. 6 // 7 // It demonstrates how to use the x-go-type extension to plug external type definitions in the generated code, 8 // for models (e.g. for properties, arrays or maps) or operations. 9 // 10 // Notice that x-go-type works for schemas and is not supported for simple swagger types, 11 // used for response headers and query & path parameters. 12 // 13 // Schemes: 14 // http 15 // Host: localhost 16 // BasePath: / 17 // Version: 1.0 18 // 19 // Consumes: 20 // - application/json 21 // 22 // Produces: 23 // - application/json 24 // 25 // swagger:meta 26 package restapi