forked from loafle/openapi-generator-original
* Allow to specify response headers (needed for redirecting clients) (#8148) Co-authored-by: Bernardo Pastorelli <13519917+randomswdev@users.noreply.github.com> * add addResponseHeaders option * enable addResponseHeaders * fix comma Co-authored-by: randomswdev <randomswdev@users.noreply.github.com> Co-authored-by: Bernardo Pastorelli <13519917+randomswdev@users.noreply.github.com>
18 lines
441 B
Go
18 lines
441 B
Go
/*
|
|
* 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
|
|
|
|
//Implementation response defines an error code with the associated body
|
|
type ImplResponse struct {
|
|
Code int
|
|
Headers map[string][]string
|
|
Body interface{}
|
|
}
|