Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <github@jessfraz.com>
  • Loading branch information
jessfraz committed Jan 27, 2024
1 parent a2f4028 commit 1c356e1
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 0 deletions.
34 changes: 34 additions & 0 deletions openapitor/tests/types/kittycad.rs.gen
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ pub mod paginate {
type Item: serde::de::DeserializeOwned;
#[doc = " Returns true if the response has more pages."]
fn has_more_pages(&self) -> bool;
#[doc = " Returns the next page token."]
fn next_page_token(&self) -> Option<String>;
#[doc = " Modify a request to get the next page."]
fn next_page(
&self,
Expand Down Expand Up @@ -752,6 +754,10 @@ impl crate::types::paginate::Pagination for AiPromptResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -1453,6 +1459,10 @@ impl crate::types::paginate::Pagination for ApiCallWithPriceResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -1622,6 +1632,10 @@ impl crate::types::paginate::Pagination for ApiTokenResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -2044,6 +2058,10 @@ impl crate::types::paginate::Pagination for AsyncApiCallResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -4506,6 +4524,10 @@ impl crate::types::paginate::Pagination for ExtendedUserResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -8345,6 +8367,10 @@ impl crate::types::paginate::Pagination for OrgMemberResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -10113,6 +10139,10 @@ impl crate::types::paginate::Pagination for TextToCadResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -12443,6 +12473,10 @@ impl crate::types::paginate::Pagination for UserResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down
98 changes: 98 additions & 0 deletions openapitor/tests/types/oxide.rs.gen
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ pub mod paginate {
type Item: serde::de::DeserializeOwned;
#[doc = " Returns true if the response has more pages."]
fn has_more_pages(&self) -> bool;
#[doc = " Returns the next page token."]
fn next_page_token(&self) -> Option<String>;
#[doc = " Modify a request to get the next page."]
fn next_page(
&self,
Expand Down Expand Up @@ -852,6 +854,10 @@ impl crate::types::paginate::Pagination for DiskResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -1374,6 +1380,10 @@ impl crate::types::paginate::Pagination for GlobalImageResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -1498,6 +1508,10 @@ impl crate::types::paginate::Pagination for IdentityProviderResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -1766,6 +1780,10 @@ impl crate::types::paginate::Pagination for ImageResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -2075,6 +2093,10 @@ impl crate::types::paginate::Pagination for InstanceResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -2358,6 +2380,10 @@ impl crate::types::paginate::Pagination for IpPoolRangeResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -2427,6 +2453,10 @@ impl crate::types::paginate::Pagination for IpPoolResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -2747,6 +2777,10 @@ impl crate::types::paginate::Pagination for NetworkInterfaceResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -2951,6 +2985,10 @@ impl crate::types::paginate::Pagination for OrganizationResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -3247,6 +3285,10 @@ impl crate::types::paginate::Pagination for ProjectResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -3496,6 +3538,10 @@ impl crate::types::paginate::Pagination for RackResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -3597,6 +3643,10 @@ impl crate::types::paginate::Pagination for RoleResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -3853,6 +3903,10 @@ impl crate::types::paginate::Pagination for RouterRouteResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -4028,6 +4082,10 @@ impl crate::types::paginate::Pagination for SagaResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -4369,6 +4427,10 @@ impl crate::types::paginate::Pagination for SiloResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -4581,6 +4643,10 @@ impl crate::types::paginate::Pagination for SledResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -4749,6 +4815,10 @@ impl crate::types::paginate::Pagination for SnapshotResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -4944,6 +5014,10 @@ impl crate::types::paginate::Pagination for SshKeyResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -5058,6 +5132,10 @@ impl crate::types::paginate::Pagination for TimeseriesSchemaResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -5213,6 +5291,10 @@ impl crate::types::paginate::Pagination for UserBuiltinResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -5305,6 +5387,10 @@ impl crate::types::paginate::Pagination for UserResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -5893,6 +5979,10 @@ impl crate::types::paginate::Pagination for VpcResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -6074,6 +6164,10 @@ impl crate::types::paginate::Pagination for VpcRouterResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down Expand Up @@ -6308,6 +6402,10 @@ impl crate::types::paginate::Pagination for VpcSubnetResultsPage {
self.next_page.is_some()
}

fn next_page_token(&self) -> Option<String> {
self.next_page.clone()
}

fn next_page(
&self,
req: reqwest::Request,
Expand Down

0 comments on commit 1c356e1

Please sign in to comment.