File tree Expand file tree Collapse file tree
__tests__/fixtures/petstore Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /**
2- * This file is auto generated.
3- *
4- * WARN: Do not edit directly.
5- *
6- * Generated on 2022-10-29T14:54:27.697Z
7- *
8- */
9- import type { Simplify } from 'type-fest' ;
101import type {
112 RequestMethodCaller ,
123 FindPetsQuery ,
134 Pet ,
145 NewPet ,
156} from './models.js' ;
7+ import type { Simplify } from 'type-fest' ;
168
179/**
1810 * Returns all pets from the system that the user has access to
@@ -47,7 +39,7 @@ export function findPets(parameters?: {
4739} ) : RequestMethodCaller < Pet [ ] > {
4840 const req = {
4941 method : 'get' as const ,
50- pathname : ' /pets' ,
42+ pathname : ` /pets` ,
5143 query : parameters ?. query ,
5244 } ;
5345 return ( requestMethod , options ) => requestMethod ( req , options ) ;
@@ -63,7 +55,7 @@ export function addPet(parameters: {
6355} ) : RequestMethodCaller < Pet > {
6456 const req = {
6557 method : 'post' as const ,
66- pathname : ' /pets' ,
58+ pathname : ` /pets` ,
6759 body : parameters . body ,
6860 } ;
6961 return ( requestMethod , options ) => requestMethod ( req , options ) ;
You can’t perform that action at this time.
0 commit comments