@@ -823,8 +823,8 @@ describe('angular HttpClient generator', () => {
823823 operationId : 'confirmReservation' ,
824824 operationName : 'confirmReservation' ,
825825 verb : 'post' ,
826- route : '/reservations/${token}' ,
827- pathRoute : '/reservations/{token}' ,
826+ route : '/reservations/${token}/confirm ' ,
827+ pathRoute : '/reservations/{token}/confirm ' ,
828828 body : {
829829 implementation : 'confirmReservationBody' ,
830830 definition : 'ConfirmReservationBody' ,
@@ -869,7 +869,7 @@ describe('angular HttpClient generator', () => {
869869 } ) ,
870870 } ) ;
871871 const options = createGeneratorOptions ( {
872- route : '/api/reservations/${token}' ,
872+ route : '/api/reservations/${token}/confirm ' ,
873873 } ) ;
874874
875875 const impl = generateHttpClientImplementation ( verbOption , options ) ;
@@ -898,7 +898,7 @@ describe('angular HttpClient generator', () => {
898898
899899 // The HTTP call itself must still pass the body as the positional argument
900900 expect ( impl ) . toContain (
901- 'this.http.post<Pet>(`/api/reservations/${token}`, confirmReservationBody, {' ,
901+ 'this.http.post<Pet>(`/api/reservations/${token}/confirm `, confirmReservationBody, {' ,
902902 ) ;
903903 } ) ;
904904
0 commit comments