forked from loafle/openapi-generator-original
* Update go-server template to include the conventional generated code line
Follow the convention from https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source.
The generated go client code already follows this: f357be480e/modules/openapi-generator/src/main/resources/go/partial_header.mustache (L18)
* gen files
* Move to top
20 lines
546 B
Go
20 lines
546 B
Go
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
|
|
|
/*
|
|
* OpenAPI Petstore
|
|
*
|
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
*
|
|
* API version: 1.0.0
|
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
*/
|
|
|
|
package petstoreserver
|
|
|
|
// ImplResponse defines an implementation response with error code and the associated body
|
|
type ImplResponse struct {
|
|
Code int
|
|
Headers map[string][]string
|
|
Body interface{}
|
|
}
|