1
0
Fork 0
Commit graph

115 commits

Author SHA1 Message Date
Rahix a3f6452cfe fix not accepting negative user ids
The bot users have negative user ids so we need to accept them here.
2025-05-22 02:00:52 +02:00
Cyborus 03c2ff9a17
fix: null team reviews 2024-07-08 22:22:39 -04:00
Cyborus 37a84e9f7a
fix(swagger): UserSettings should not be a list 2024-06-19 13:32:22 -04:00
Cyborus dc96dd5549
fix basic auth base64 encoding length calculation 2024-05-27 13:09:51 -04:00
Cyborus 119571229c
add oauth2 authentication 2024-05-22 16:52:34 -04:00
Cyborus bf8d6e1a3b
add POST /login/oauth/access_token 2024-05-22 16:34:58 -04:00
Cyborus 716192d4d4 Merge pull request 'make issue and pr state an enum' (#55) from issue-state-enum into main 2024-05-14 15:41:07 +00:00
Cyborus ed310f7001
make issue and pr state an enum 2024-05-14 11:36:44 -04:00
Cyborus ea25b2f359
improve ssh url deserialization tests 2024-05-14 11:22:32 -04:00
aviac 8188ba5f43
chore: 2024-05-11 13:02:06 +02:00
aviac a786cd85ad
fix: implement review comment regarding non standard ssh port scenario 2024-05-11 13:00:17 +02:00
aviac 9b2864bd70
feat: naive implementation of ssh_url deserialization 2024-05-10 09:00:27 +02:00
Cyborus 8cd8207fa0
add object_format_name back in 2024-04-27 12:16:51 -04:00
Cyborus fd0c22a1c6
add CreateHookOptionConfig required properties as fields 2024-04-26 13:36:13 -04:00
Cyborus c3dcafc684
implement From<DefaultMergeStyle> for MergePullRequestOptionDo 2024-04-26 13:08:24 -04:00
Cyborus e5cd248c8f
regenerate source 2024-04-26 12:56:49 -04:00
Cyborus 5fda006b0f
fix repo_get_raw_file{_or_lfs} not returning Vec<u8> 2024-04-26 12:12:39 -04:00
Cyborus 736dd72993
remove object_format_name for now
forgejo currently has a bug where the `object_format_name` field is
always an empty string. for now, just don't include it.

should be fixed in https://codeberg.org/forgejo/forgejo/pulls/3464
2024-04-25 18:19:10 -04:00
Cyborus 9b784f1f95
CreateRepoOption's object_format_name field is required 2024-04-25 12:51:54 -04:00
Cyborus 6379525007
regenerate source 2024-04-25 12:08:37 -04:00
Cyborus f029ba5737
add derives for query structs 2024-04-20 16:16:32 -04:00
Cyborus 5ceb740e99
regenerate for 201 status code for tags 2024-04-17 19:17:10 -04:00
Cyborus 40b9454e8b
fix release attachment download url 2024-04-17 18:51:59 -04:00
Cyborus 9e3279e7ed
two small BTreeMap-related changes
import `BTreeMap` instead of qualified path
use `BTreeMap` instead of `serde_json::Map`
2024-03-20 13:11:47 -04:00
Cyborus cad6890128
remove structs that only exist for their additional field 2024-03-15 18:13:24 -04:00
Cyborus ea4320cfb5
set enum variant serialization names 2024-03-15 16:06:49 -04:00
Cyborus fdcf4a4c2e
default to serde_json::Value for empty schemas 2024-03-15 14:45:56 -04:00
Cyborus a30f114064
derive Copy and Eq for enums 2024-03-15 14:32:07 -04:00
Cyborus 5431303ecb
don't implement as_str for enums that don't need it 2024-03-15 14:28:28 -04:00
Cyborus 7938d81544
split generation into method and struct files 2024-02-09 23:28:23 -05:00
Cyborus ed27e3d714
remove trailing doc comment lines 2024-02-09 22:49:32 -05:00
Cyborus 3f1458e1be
even more strongly typed returns 2024-02-09 22:39:32 -05:00
Cyborus 0ea0f6ee57
include enum types in fields 2024-02-09 19:21:53 -05:00
Cyborus 43f853dad3
add enum types in query structs 2024-02-09 18:24:43 -05:00
Cyborus 945647baf1
generate subtypes and enums 2024-02-09 17:39:06 -05:00
Cyborus 4d63cd09c1
better document structs 2024-02-09 17:02:42 -05:00
Cyborus 11c0798775
better documentation for body params 2024-02-09 16:10:02 -05:00
Cyborus c51e080214
support non-json return types 2024-02-09 15:29:34 -05:00
Cyborus cb1f2d9ae8
strongly typed header returns 2024-02-09 14:37:43 -05:00
Cyborus 787adac1a4
put query directly in format string 2024-01-29 22:05:31 -05:00
Cyborus 1ba9b4a897
generate code 2024-01-24 16:37:52 -05:00
Cyborus 8d3738af50
special-case ssh_url to not be a url::Url 2024-01-21 16:03:44 -05:00
Cyborus 996c722f90
support returning header values 2024-01-21 16:03:11 -05:00
Cyborus 63c6dc9f7f
fix http methods 2024-01-18 18:15:09 -05:00
Cyborus 194a1b5e36
handle datetime (de)serialization 2024-01-18 18:10:05 -05:00
Cyborus bfb31fc296
add trailing slash to api prefix 2024-01-18 17:53:11 -05:00
Cyborus ec3a9e74c4
strip leading slash
a leading slash causes `url::Url` to replace the entire existing path
2024-01-18 17:45:03 -05:00
Cyborus ac25339cf6
formatting 2024-01-18 16:51:09 -05:00
Cyborus cfd12a6306
add additional properties support 2024-01-18 16:27:05 -05:00
Cyborus d9f51681df
add back download_release_attachment 2024-01-18 15:45:47 -05:00