36 Commits

Author SHA1 Message Date
Nick Floyd
6bb0408582 [FIX]: reworks all number parameter names to represent what they actually are. Refactors some types to be the appropriate types based on OpenAPI and docs. (#2948)
* reworks all number parameter names to represent what they actually are. Refactors some types to be the appropriate types based on OpenAPI and docs.

* updates interfaces and implementations for id naming

* updates reactive to match sync SDKs
2024-07-02 15:31:59 -05:00
notauserx
595e35d641 add active lock reason to PR (#2543)
* add active lock reason to PR

* update docs

* refactor: extract lock and unlock from IIssuesClient
create ILockUnlockClient so both IIssuesClient and IPullRequestClient can
access lock and unlock methods.

* refactor LockUnlock for reactive clients

* Update doc to include lock unlock sample code

* Use Assert.Null to check null value in test

Co-authored-by: notauserx <notauserx@users.noreply.github.com>
2022-08-19 18:36:47 +01:00
notauserx
536e5c3737 feat: adds active lock reason to issue (#2525) 2022-08-05 16:44:17 -05:00
Chris Simpson
2f7bd00dd6 feat: Removing accept header previews (#2515) 2022-08-01 09:37:23 -05:00
Brendan Forster
87d2b0fdc1 more cleanup of route metadata (#2158) 2020-03-19 16:21:16 -03:00
Brendan Forster
dc2f6ff001 first pass at cleaning up attributes (#2157) 2020-03-18 09:02:11 -03:00
Brendan Forster
327020750f add convention test for preview APIs (#2154) 2020-03-18 08:52:50 -03:00
Brendan Forster
5de5258257 add attribute for tracking preview usage in the codebase (#2128) 2020-03-07 10:40:15 -04:00
Brendan Forster
f96885654f add metadata to each client action (#2124) 2020-03-04 21:10:38 -04:00
Itai Bar-Haim
4e804f61a6 Prefer using nameof(x) over literal "x" (#1781)
* updated XML docs and added some missing bits.

* prefer nameof(x) over literal "x"
2018-03-07 20:43:10 +10:00
Andreia Gaita
9e958bf998 Make Repository Id a long, it's going to grow... 2016-09-15 02:15:11 +02:00
Henrik Andersson
23d9310133 Implement Issue Timeline preview API (#1435)
* Implement Issue Timeline preview API

* Add DebuggerDisplay to response models

* Rename method

* Add Observable Issue Timeline client

* Add that missing property thing

* Add teh comments

* Added unit tests

* Fix method names

* Add missing event type enum and API preview accept header

* Add integration tests for async client

* Pass in API preview header

* Add observable integration tests

* Unbreak the broken tests...

* Remove unnecessary usings

* Add missing events

* Fix API URLs

* Add overloads for using repository Id instead of owner/repo and paging

* Add tests for repository id overloads

* Add paging tests

* I'm clearly a bit rusty about this test thing here...

* Missed a check for null argument

* Added missing XMLDocs
2016-08-08 07:51:07 +10:00
aedampir@gmail.com
44b0f4039d ID -> Id 2016-07-17 16:29:32 +07:00
Martin Scholz
72e30a7f90 Add reactions to issue, commit comment and review payload (#1405)
* add reactions to issue response payload

* add reactions to commit comment payload

* add reactions to review comment payload

* create tests for issue client

* tests for commitcomment client

* tests for pull request review comment

* change observable tests

* simplify strings

* remove unnecessary clients

* change integration tests to retrieve all reaction types

* create integration test for issue comment client

* fix merge conflicts

* fix merge conflicts

* gets tests passing again

* fix some reaction integration tests

* Fixup unit tests wth preview accepts header
Also applied preview header to a couple of repositoryId based calls that were added by another PR

* Fixup unit tests wth preview accepts header
Also applied preview header to a couple of repositoryId based calls that were added by another PR

* Rework reaction payload tests for IssueComments to handle Get, GetAllForIssue and GetAllForRepository calls

* [WIP] reaction payload tests

* Rework reaction payload tests for IssueComments to handle Get, GetAllForIssue and GetAllForRepository calls

* Rework reaction payload tests for Issues client

* Rework reaction payload tests for PullRequestReviews client

* Rework reaction payload tests for CommitComments client

* Revert "[WIP] reaction payload tests"

This reverts commit a6179b0f21a3ddfe36bfd3ae5eafae0e69b52252.
2016-07-08 20:29:08 +10:00
aedampir@gmail.com
91073ec127 removed <retuns> tags 2016-07-07 03:06:29 +07:00
Alexander Efremov
26b63ed245 cleared <returns> tags 2016-06-17 06:01:24 +07:00
aedampir@gmail.com
373e5ea6c0 added new overloads 2016-06-14 18:00:47 +07:00
aedampir@gmail.com
a30008d1e9 modified XML docs 2016-06-14 17:21:27 +07:00
Brendan Forster
dfebfe31b6 Add ApiOption overloads to IIssuesClient and IObservableIssuesClient (#1274) 2016-06-02 11:21:30 +02:00
Prayank Mathur
8e49f04a5d Added implementation for delete that takes custom media type header and changed definition for Unlock accordingly 2016-03-30 14:30:37 +05:30
Prayank Mathur
8ff574ab1c Changes in Accept headers as well as names of the functions 2016-03-29 16:19:47 +05:30
Prayank Mathur
171b3c520a Implement Lock/Unlock Issue 2016-03-25 11:51:42 +05:30
Gabriel Weyer
e7f17bd68d Added Id And Locked properties to Issue, fixed XML comment of Update Issue (was a copy of Create Issue) 2015-12-23 16:17:57 +11:00
Henrik Andersson
78e76be7d9 Update clients 2015-03-24 00:11:52 +10:00
Brendan Forster
6bdceee7b4 added missing properties to IObservableIssuesClient 2014-02-18 10:52:01 +11:00
Haacked
c96b00650e Add comments to concrete types
We now have a build task that copies comments from interface to
implementation.
2013-12-11 14:22:39 -08:00
Brendan Forster
60def6ea96 Merge pull request #253 from pmacn/feature/documentation
Documentation
2013-12-08 07:54:56 -08:00
Andre Rodrigues
8f44a22ca3 Implement labels CRUD 2013-12-05 17:24:52 +00:00
Peter MacNaughton
f46eabe69a Instatiate is not a word! Fixed typo
Also expanded the IGitDatabaseClient summary
2013-12-04 00:19:16 -07:00
Peter MacNaughton
3b7488c4da API client constructors documented 2013-12-02 22:09:04 -07:00
pltaylor
9d72a61de2 Add a way to get to the comments 2013-11-04 13:57:50 -05:00
Kyle Nunery
5ef086d44e Add IssuesEventsClient implementation and integration tests 2013-11-03 00:45:54 -05:00
Brendan Forster
c22a9c874f some more cleanup of unnecessary async/await 2013-10-31 11:39:09 +11:00
Haacked
f89c25a03b More integration tests for Issues and Milestones 2013-10-23 15:35:50 -07:00
Haacked
e1d618dcaa Implement AssigneesClient
Implement client to list and check available assignees for a repository
2013-10-23 14:51:48 -07:00
Haacked
ad210cecc7 Implement IssuesClient and interface
This required updating our serialization strategy so we handle enums
better.
2013-10-23 14:46:19 -07:00