Diamond

Results 112 issues of Diamond

This commit adds asynchronous guild icon loading as well as lazy loading of channel messages. This means that channel messages are not loaded until the user actually goes to that...

### Problem goapi-gen currently does not autogenerate anything for `security`. Instead, the user is supposed to use a long-winded way of adding a middleware which also doesn't support dependency injection...

`goapi-gen` currently errors out with an `"in": "formData"` parameter: ```json "consumes": [ "multipart/form-data" ], "parameters": [ { "in": "formData", "name": "content", "type": "file", "description": "The content of the file.", "required":...

This PR contains commits that allow `mvdan.cc/sh/v3` to be built using Tinygo. The commit messages will contain more information.

This for some reason triggers a CAPTCHA error from Discord. Instead of trying to work around this, we should deny sending messages and force the user to send it from...

enhancement

Fixes #105 This PR depends on these PRs: - [ ] https://github.com/silasdavis/yaml/pull/1 - [ ] https://github.com/ghodss/yaml/pull/62 - [ ] https://github.com/getkin/kin-openapi/pull/1002

This commit changes the existing code to also accept "true", "1" and other truthy values as specified by [strconv.ParseBool] from environment variables, rather than assuming that only "true" is truthy....

https://go.dev/doc/go1.23#new-unique-package

enhancement

This commit adds the `OrderedPropertyKeys` method to the `openapi3.Schema`: OrderedPropertyKeys returns the keys of the properties in the order they were defined. This is useful for generating code that needs...

Currently, do provides a `Shutdown` API for shutting down which can perform I/O or long-running operations, and `ShutdownWithContext` exists to allow the user to pass their context down to those...