Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | format | Cyborus | 2024-02-10 | 2 | -3/+11 | |
| | | ||||||
| * | even more strongly typed returns | Cyborus | 2024-02-10 | 4 | -61/+177 | |
| | | ||||||
| * | deref more params | Cyborus | 2024-02-10 | 2 | -18/+12 | |
| | | ||||||
| * | include enum types in fields | Cyborus | 2024-02-10 | 2 | -59/+101 | |
| | | ||||||
| * | add enum types in query structs | Cyborus | 2024-02-10 | 2 | -65/+524 | |
| | | ||||||
| * | generate subtypes and enums | Cyborus | 2024-02-09 | 3 | -3/+194 | |
| | | ||||||
| * | better document structs | Cyborus | 2024-02-09 | 2 | -0/+1002 | |
| | | ||||||
| * | better documentation for body params | Cyborus | 2024-02-09 | 2 | -98/+113 | |
| | | ||||||
| * | deref params in method doc generation | Cyborus | 2024-02-09 | 1 | -12/+9 | |
| | | ||||||
| * | support non-json return types | Cyborus | 2024-02-09 | 3 | -50/+110 | |
| | | ||||||
| * | strongly typed header returns | Cyborus | 2024-02-09 | 5 | -12/+408 | |
| | | ||||||
| * | more general dereferencing | Cyborus | 2024-01-30 | 3 | -50/+658 | |
| | | ||||||
| * | format | Cyborus | 2024-01-30 | 3 | -27/+31 | |
| | | ||||||
| * | fix warnings | Cyborus | 2024-01-30 | 3 | -30/+24 | |
| | | ||||||
| * | put `query` directly in format string | Cyborus | 2024-01-30 | 2 | -282/+105 | |
| | | ||||||
| * | improve openapi verification | Cyborus | 2024-01-30 | 4 | -64/+500 | |
| | | ||||||
| * | split generator into modules | Cyborus | 2024-01-27 | 3 | -898/+906 | |
| | | ||||||
| * | remove debug panic | Cyborus | 2024-01-27 | 1 | -2/+0 | |
| | | ||||||
| * | format | Cyborus | 2024-01-24 | 1 | -1/+2 | |
| | | ||||||
| * | generate code | Cyborus | 2024-01-24 | 1 | -1325/+1307 | |
| | | ||||||
| * | fix errors/warnings in generated code | Cyborus | 2024-01-24 | 1 | -10/+9 | |
| | | | | | | | | | | | | | | | | remove import of `Write` remove now unused output string in display impls access query fields by reference remove `r#` in vars accessed in format strings replace char literals in write macros with strings | |||||
| * | Merge pull request 'autogen improvements' (#39) from ↵ | Cyborus | 2024-01-24 | 1 | -33/+69 | |
| |\ | | | | | | | | | | | | | | | | Aviac/forgejo-api:aviac/autogen into autogen Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/39 | |||||
| | * | fix(mistake): order of statements | aviac | 2024-01-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org> | |||||
| | * | fix(list): adjust broken generated code | aviac | 2024-01-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org> | |||||
| | * | chore(cleanup): remove comment | aviac | 2024-01-23 | 1 | -2/+0 | |
| | | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org> | |||||
| | * | feat(formatting): auto run rustfmt on generated file | aviac | 2024-01-22 | 1 | -6/+17 | |
| | | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org> | |||||
| | * | chore(cleanup): consolidate `writeln`s | aviac | 2024-01-22 | 1 | -12/+15 | |
| | | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org> | |||||
| | * | 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 | |
| | |