summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * 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
| |
| * guess which types are url by field nameCyborus2024-01-171-6/+13
| |
| * make `*Query::to_string` take `self`Cyborus2024-01-171-1/+1
| |
| * remove unnecessary enumerationCyborus2024-01-171-1/+1
| |
| * use `OffsetDateTime::format` instead of `format_into`Cyborus2024-01-171-2/+2
| |
| * use `write!` instead of `.write_fmt`Cyborus2024-01-171-2/+3
| |
| * `RequestBuilder::json` takes reference, doesn't return resultCyborus2024-01-171-1/+1
| |
| * only check 200 responses for if optionalCyborus2024-01-171-2/+5
| |
| * add derives to generated structsCyborus2024-01-171-1/+6
| |
| * simple recursion preventionCyborus2024-01-171-4/+5
| |
| * add missing arg to `UnexpectedStatusCode`Cyborus2024-01-171-1/+1
| |
| * add type parameters to `serde_json::Map`Cyborus2024-01-161-1/+1
| |
| * convert to snake case inside of `sanitize_ident`Cyborus2024-01-161-7/+8
| |
| * sanitize body argCyborus2024-01-161-3/+4
| |
| * impl on `crate::Forgejo` instead of `Forgejo`Cyborus2024-01-161-1/+1
| |
| * generate query structsCyborus2024-01-162-28/+313
| |
| * autogenerate structsCyborus2024-01-161-2/+58
| |
| * convert path args to camel case in format stringCyborus2024-01-161-1/+27
| |
| * methods should be `pub` and `async`Cyborus2024-01-161-1/+1
| |
| * import `ForgejoError` in generated fileCyborus2024-01-161-0/+1
| |
| * add method generationCyborus2024-01-164-5/+555
| |
| * prioritize ref when deserializing `MaybeRef`Cyborus2024-01-151-4/+4
| |
| * strongly type `Parameter.in`Cyborus2024-01-111-1/+11
| |
| * formatCyborus2024-01-111-5/+5
| |
| * add openapi parsingCyborus2024-01-116-22/+24721
|/
* Merge pull request 'add missing `parent` field to `Repository`' (#36) from ↵Cyborus2024-01-101-0/+1
|\ | | | | | | | | | | parent into main Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/36
| * add missing `parent` field to `Repository`Cyborus2024-01-101-0/+1
|/
* remove unnecessary "the"Cyborus2024-01-091-1/+1
|