summaryrefslogtreecommitdiffstats
path: root/generator/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: update to forgejo 9Cyborus2024-10-161-4/+1
|
* refactor!: use `format` field instead of names for special parsingCyborus2024-08-043-22/+46
|
* docs: replace instances of "gitea" with "Forgejo"Cyborus2024-07-302-0/+5
|
* fix: only wrap return values in `Option` onceCyborus2024-07-301-4/+8
|
* fix: correct body parsing for each status codeCyborus2024-07-141-1/+2
|
* fix!: integers are signed by defaultCyborus2024-07-093-8/+20
|
* fix: null team reviewsCyborus2024-07-092-1/+16
|
* feat: naive implementation of ssh_url deserializationaviac2024-05-101-4/+13
|
* correctly generate field type names for referenced enumsCyborus2024-04-261-1/+10
|
* add derives for query structsCyborus2024-04-201-0/+10
|
* two small `BTreeMap`-related changesCyborus2024-03-203-3/+5
| | | | | import `BTreeMap` instead of qualified path use `BTreeMap` instead of `serde_json::Map`
* remove structs that only exist for their `additional` fieldCyborus2024-03-151-3/+14
|
* set enum variant serialization namesCyborus2024-03-151-0/+3
|
* remove debugCyborus2024-03-151-3/+0
|
* default to `serde_json::Value` for empty schemasCyborus2024-03-151-1/+1
|
* derive `Copy` and `Eq` for enumsCyborus2024-03-151-1/+1
|
* don't implement `as_str` for enums that don't need itCyborus2024-03-152-11/+18
|
* split generation into method and struct filesCyborus2024-02-103-14/+21
|
* fix warningsCyborus2024-02-102-2/+2
|
* remove trailing doc comment linesCyborus2024-02-102-0/+12
|
* formatCyborus2024-02-102-3/+11
|
* even more strongly typed returnsCyborus2024-02-103-58/+154
|
* deref more paramsCyborus2024-02-102-18/+12
|
* include enum types in fieldsCyborus2024-02-101-11/+53
|
* add enum types in query structsCyborus2024-02-101-39/+106
|
* generate subtypes and enumsCyborus2024-02-092-3/+47
|
* better document structsCyborus2024-02-091-0/+16
|
* better documentation for body paramsCyborus2024-02-091-3/+12
|
* deref params in method doc generationCyborus2024-02-091-12/+9
|
* support non-json return typesCyborus2024-02-091-16/+76
|
* strongly typed header returnsCyborus2024-02-092-5/+140
|
* 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-301-2/+1
|
* 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
|
* 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
* 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>
* special-case `ssh_url` to not be a `url::Url`Cyborus2024-01-211-1/+1
|
* support returning header valuesCyborus2024-01-211-44/+118
|
* handle datetime (de)serializationCyborus2024-01-191-0/+6
|