James Bowes

Results 39 issues of James Bowes

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of...

for example: ```go type Foo struct{ Bar Name string } ``` Should be: ```go type Foo struct{ Bar Name string } ```

enhancement
help wanted

For types used in options, and eventually in PATCH calls (#17), `oag` should generated functions that return a pointer of the supplied value, if required. For example, if an options...

enhancement
help wanted

If an operation requires some slice argument, but doesn't explicitly request a minimum length, then the argument is effectively optional. Convert it to an optional argument.

enhancement

`PATCH` is commonly used to do partial updates of resources, particularly via [JSON Merge Patch](https://tools.ietf.org/html/rfc7386). To do a `PATCH` like this, we need to support: - sending a value on...

enhancement

Generated code should include [functional options](https://www.calhoun.io/using-functional-options-instead-of-method-chaining-in-go/) for configuring the client, for: - endpoint url - appropriate security scheme types

enhancement
help wanted

If we have a document that generates the following code: ```go type LoginRequest struct { Email string Password string } func (c *UserClient) Login(ctx context.Context, email, password string) (string, error)...

enhancement

The Iter types are designed to support pagination, but they don't do it yet. This will require some kind of configuration on the user's part. Which headers/etc describe the returned...

enhancement

open question: how much of the resultant types should rely on interfaces?

enhancement