// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. /* * optional body * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * API version: 1.0.1 */ package petstoreserver import ( "context" "net/http" ) // JustApiAPIRouter defines the required methods for binding the api requests to a responses for the JustApiAPI // The JustApiAPIRouter implementation should parse necessary information from the http request, // pass the data to a JustApiAPIServicer to perform the required actions, then write the service results to the http response. type JustApiAPIRouter interface { SendOptionalPayload(http.ResponseWriter, *http.Request) } // JustApiAPIServicer defines the api actions for the JustApiAPI service // This interface intended to stay up to date with the openapi yaml used to generate it, // while the service implementation can be ignored with the .openapi-generator-ignore file // and updated with the logic required for the API. type JustApiAPIServicer interface { SendOptionalPayload(context.Context, Payload) (ImplResponse, error) }