1 /* 2 * GoBun File Store 3 * 4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 * 6 * API version: 0.0.1 7 * Generated by: OpenAPI Generator (https://openapi-generator.tech) 8 */ 9 10 package openapi 11 12 import ( 13 "context" 14 "io" 15 "net/http" 16 ) 17 18 // DefaultApiRouter defines the required methods for binding the api requests to a responses for the DefaultApi 19 // The DefaultApiRouter implementation should parse necessary information from the http request, 20 // pass the data to a DefaultApiServicer to perform the required actions, then write the service results to the http response. 21 type DefaultApiRouter interface { 22 ListGet(http.ResponseWriter, *http.Request) 23 RootPost(http.ResponseWriter, *http.Request) 24 } 25 26 // DefaultApiServicer defines the api actions for the DefaultApi service 27 // This interface intended to stay up to date with the openapi yaml used to generate it, 28 // while the service implementation can be ignored with the .openapi-generator-ignore file 29 // and updated with the logic required for the API. 30 type DefaultApiServicer interface { 31 ListGet(context.Context) (ImplResponse, error) 32 RootPost(context.Context, io.ReadCloser) (ImplResponse, error) 33 } 34