Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | feat(definitions): impl `Display` | aviac | 2024-01-22 | 1 | -21/+46 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of adding a `to_string` method on each definition struct, this commit implements `Display`. This shouldn't result in any breaking changes since the trait also exposes a method with the same name. I also tried to format the generated text here and there to make it more readable in the generate code base as well as in the generate text. Authored-by: Aviac <aviac@mailbox.org> | |||||
| | * | fix(typo?): remove weird line | aviac | 2024-01-22 | 1 | -1/+0 | |
| | | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org> | |||||
| * | | replace hook type with gitea | Cyborus | 2024-01-21 | 1 | -1/+1 | |
| |/ | | | | | | | makes tests on forgejo development branches pass | |||||
| * | put test repo in current dir instead of root | Cyborus | 2024-01-21 | 1 | -4/+4 | |
| | | ||||||
| * | special-case `ssh_url` to not be a `url::Url` | Cyborus | 2024-01-21 | 2 | -3/+2 | |
| | | ||||||
| * | support returning header values | Cyborus | 2024-01-21 | 2 | -50/+124 | |
| | | ||||||
| * | format format format | Cyborus | 2024-01-19 | 1 | -23/+40 | |
| | | ||||||
| * | fix http methods | Cyborus | 2024-01-19 | 1 | -2/+2 | |
| | | ||||||
| * | handle datetime (de)serialization | Cyborus | 2024-01-19 | 2 | -0/+82 | |
| | | ||||||
| * | add trailing slash to api prefix | Cyborus | 2024-01-18 | 1 | -5/+5 | |
| | | ||||||
| * | strip leading slash | Cyborus | 2024-01-18 | 2 | -413/+381 | |
| | | | | | | | | a leading slash causes `url::Url` to replace the entire existing path | |||||
| * | restructure tests | Cyborus | 2024-01-18 | 1 | -112/+89 | |
| | | ||||||
| * | formatting | Cyborus | 2024-01-18 | 2 | -31/+66 | |
| | | ||||||
| * | update tests to new api | Cyborus | 2024-01-18 | 1 | -111/+144 | |
| | | ||||||
| * | add additional properties support | Cyborus | 2024-01-18 | 3 | -1/+13 | |
| | | ||||||
| * | add back `download_release_attachment` | Cyborus | 2024-01-18 | 1 | -0/+14 | |
| | | ||||||
| * | derive `PartialEq` for generated structs | Cyborus | 2024-01-18 | 2 | -185/+185 | |
| | | ||||||
| * | simpler error handling | Cyborus | 2024-01-18 | 1 | -11/+10 | |
| | | ||||||
| * | replace with generated api | Cyborus | 2024-01-18 | 10 | -2491/+12272 | |
| | | ||||||
| * | rename `userGetOauth2Application` to `userGetOAuth2Applications` | Cyborus | 2024-01-18 | 1 | -1/+1 | |
| | | ||||||
| * | make generated fields public | Cyborus | 2024-01-17 | 1 | -0/+2 | |
| | | ||||||
| * | put structs in a module | Cyborus | 2024-01-17 | 1 | -2/+5 | |
| | | ||||||
| * | praise rustfmt | Cyborus | 2024-01-17 | 1 | -13/+32 | |
| | | ||||||
| * | guess which types are url by field name | Cyborus | 2024-01-17 | 1 | -6/+13 | |
| | | ||||||
| * | make `*Query::to_string` take `self` | Cyborus | 2024-01-17 | 1 | -1/+1 | |
| | | ||||||
| * | remove unnecessary enumeration | Cyborus | 2024-01-17 | 1 | -1/+1 | |
| | | ||||||
| * | use `OffsetDateTime::format` instead of `format_into` | Cyborus | 2024-01-17 | 1 | -2/+2 | |
| | | ||||||
| * | use `write!` instead of `.write_fmt` | Cyborus | 2024-01-17 | 1 | -2/+3 | |
| | | ||||||
| * | `RequestBuilder::json` takes reference, doesn't return result | Cyborus | 2024-01-17 | 1 | -1/+1 | |
| | | ||||||
| * | only check 200 responses for if optional | Cyborus | 2024-01-17 | 1 | -2/+5 | |
| | | ||||||
| * | add derives to generated structs | Cyborus | 2024-01-17 | 1 | -1/+6 | |
| | | ||||||
| * | simple recursion prevention | Cyborus | 2024-01-17 | 1 | -4/+5 | |
| | | ||||||
| * | add missing arg to `UnexpectedStatusCode` | Cyborus | 2024-01-17 | 1 | -1/+1 | |
| | | ||||||
| * | add type parameters to `serde_json::Map` | Cyborus | 2024-01-16 | 1 | -1/+1 | |
| | | ||||||
| * | convert to snake case inside of `sanitize_ident` | Cyborus | 2024-01-16 | 1 | -7/+8 | |
| | | ||||||
| * | sanitize body arg | Cyborus | 2024-01-16 | 1 | -3/+4 | |
| | | ||||||
| * | impl on `crate::Forgejo` instead of `Forgejo` | Cyborus | 2024-01-16 | 1 | -1/+1 | |
| | | ||||||
| * | generate query structs | Cyborus | 2024-01-16 | 2 | -28/+313 | |
| | | ||||||
| * | autogenerate structs | Cyborus | 2024-01-16 | 1 | -2/+58 | |
| | | ||||||
| * | convert path args to camel case in format string | Cyborus | 2024-01-16 | 1 | -1/+27 | |
| | | ||||||
| * | methods should be `pub` and `async` | Cyborus | 2024-01-16 | 1 | -1/+1 | |
| | | ||||||
| * | import `ForgejoError` in generated file | Cyborus | 2024-01-16 | 1 | -0/+1 | |
| | | ||||||
| * | add method generation | Cyborus | 2024-01-16 | 4 | -5/+555 | |
| | | ||||||
| * | prioritize ref when deserializing `MaybeRef` | Cyborus | 2024-01-15 | 1 | -4/+4 | |
| | | ||||||
| * | strongly type `Parameter.in` | Cyborus | 2024-01-11 | 1 | -1/+11 | |
| | | ||||||
| * | format | Cyborus | 2024-01-11 | 1 | -5/+5 | |
| | | ||||||
| * | add openapi parsing | Cyborus | 2024-01-11 | 6 | -22/+24721 | |
|/ | ||||||
* | Merge pull request 'add missing `parent` field to `Repository`' (#36) from ↵ | Cyborus | 2024-01-10 | 1 | -0/+1 | |
|\ | | | | | | | | | | | parent into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/36 | |||||
| * | add missing `parent` field to `Repository` | Cyborus | 2024-01-10 | 1 | -0/+1 | |
|/ | ||||||
* | remove unnecessary "the" | Cyborus | 2024-01-09 | 1 | -1/+1 | |
| |