Skip to content

Commit

Permalink
Regenerate go-experimental/oas2 samples w/o interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
arvindth committed Aug 23, 2020
1 parent 3398492 commit 4945c11
Show file tree
Hide file tree
Showing 14 changed files with 744 additions and 671 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,43 +21,33 @@ var (
_ _context.Context
)

type AnotherFakeApi interface {
/*
* Call123TestSpecialTags To test special tags
* To test special tags and operation ID starting with number
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return apiCall123TestSpecialTagsRequest
*/
Call123TestSpecialTagsGetRequest(ctx _context.Context) ApiCall123TestSpecialTagsRequest

/*
* Execute executes the request
* @return Client
*/
Call123TestSpecialTagsExecute(r ApiCall123TestSpecialTagsRequest) (Client, *_nethttp.Response, error)

}

// AnotherFakeApiService AnotherFakeApi service
type AnotherFakeApiService service

type ApiCall123TestSpecialTagsRequest struct {
ctx _context.Context
ApiService *AnotherFakeApiService
body *Client
}

func (r ApiCall123TestSpecialTagsRequest) Body(body Client) ApiCall123TestSpecialTagsRequest {
r.body = &body
return r
}

func (r ApiCall123TestSpecialTagsRequest) Execute() (Client, *_nethttp.Response, error) {
return r.ApiService.Call123TestSpecialTagsExecute(r)
}

/*
* Call123TestSpecialTags To test special tags
* To test special tags and operation ID starting with number
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return apiCall123TestSpecialTagsRequest
* @return ApiCall123TestSpecialTagsRequest
*/
func (a *AnotherFakeApiService) Call123TestSpecialTagsGetRequest(ctx _context.Context) ApiCall123TestSpecialTagsRequest {
func (a *AnotherFakeApiService) Call123TestSpecialTags(ctx _context.Context) ApiCall123TestSpecialTagsRequest {
return ApiCall123TestSpecialTagsRequest{
ApiService: a,
ctx: ctx,
}
}
Expand Down
Loading

0 comments on commit 4945c11

Please sign in to comment.