summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * formatCyborus2024-02-102-3/+11
| |
| * even more strongly typed returnsCyborus2024-02-104-61/+177
| |
| * deref more paramsCyborus2024-02-102-18/+12
| |
| * include enum types in fieldsCyborus2024-02-102-59/+101
| |
| * add enum types in query structsCyborus2024-02-102-65/+524
| |
| * generate subtypes and enumsCyborus2024-02-093-3/+194
| |
| * better document structsCyborus2024-02-092-0/+1002
| |
| * better documentation for body paramsCyborus2024-02-092-98/+113
| |
| * deref params in method doc generationCyborus2024-02-091-12/+9
| |
| * support non-json return typesCyborus2024-02-093-50/+110
| |
| * strongly typed header returnsCyborus2024-02-095-12/+408
| |
| * more general dereferencingCyborus2024-01-303-50/+658
| |
| * formatCyborus2024-01-303-27/+31
| |
| * fix warningsCyborus2024-01-303-30/+24
| |
| * put `query` directly in format stringCyborus2024-01-302-282/+105
| |
| * improve openapi verificationCyborus2024-01-304-64/+500
| |
| * split generator into modulesCyborus2024-01-273-898/+906
| |
| * remove debug panicCyborus2024-01-271-2/+0
| |
| * formatCyborus2024-01-241-1/+2
| |
| * generate codeCyborus2024-01-241-1325/+1307
| |
| * fix errors/warnings in generated codeCyborus2024-01-241-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 ↵Cyborus2024-01-241-33/+69
| |\ | | | | | | | | | | | | | | | Aviac/forgejo-api:aviac/autogen into autogen Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/39
| | * fix(mistake): order of statementsaviac2024-01-241-1/+1
| | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org>
| | * fix(list): adjust broken generated codeaviac2024-01-231-1/+1
| | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org>
| | * chore(cleanup): remove commentaviac2024-01-231-2/+0
| | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org>
| | * feat(formatting): auto run rustfmt on generated fileaviac2024-01-221-6/+17
| | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org>
| | * chore(cleanup): consolidate `writeln`saviac2024-01-221-12/+15
| | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org>
| | * feat(definitions): impl `Display`aviac2024-01-221-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 lineaviac2024-01-221-1/+0
| | | | | | | | | | | | Authored-by: Aviac <aviac@mailbox.org>
| * | replace hook type with giteaCyborus2024-01-211-1/+1
| |/ | | | | | | makes tests on forgejo development branches pass
| * put test repo in current dir instead of rootCyborus2024-01-211-4/+4
| |
| * special-case `ssh_url` to not be a `url::Url`Cyborus2024-01-212-3/+2
| |
| * support returning header valuesCyborus2024-01-212-50/+124
| |
| * format format formatCyborus2024-01-191-23/+40
| |
| * fix http methodsCyborus2024-01-191-2/+2
| |
| * handle datetime (de)serializationCyborus2024-01-192-0/+82
| |
| * add trailing slash to api prefixCyborus2024-01-181-5/+5
| |
| * strip leading slashCyborus2024-01-182-413/+381
| | | | | | | | a leading slash causes `url::Url` to replace the entire existing path
| * restructure testsCyborus2024-01-181-112/+89
| |
| * formattingCyborus2024-01-182-31/+66
| |
| * update tests to new apiCyborus2024-01-181-111/+144
| |
| * add additional properties supportCyborus2024-01-183-1/+13
| |
| * add back `download_release_attachment`Cyborus2024-01-181-0/+14
| |
| * derive `PartialEq` for generated structsCyborus2024-01-182-185/+185
| |
| * simpler error handlingCyborus2024-01-181-11/+10
| |
| * replace with generated apiCyborus2024-01-1810-2491/+12272
| |
| * rename `userGetOauth2Application` to `userGetOAuth2Applications`Cyborus2024-01-181-1/+1
| |
| * make generated fields publicCyborus2024-01-171-0/+2
| |
| * put structs in a moduleCyborus2024-01-171-2/+5
| |
| * praise rustfmtCyborus2024-01-171-13/+32
| |