File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
examples/generated/angular2/apis Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export class BookingManageService {
6868 */
6969 public list (
7070 requestBody : ListBookingRequest ,
71- ) : Observable < BookingRoomsDTO > {
71+ ) : Observable < BookingRoomsDTO [ ] > {
7272 return this . apiService . doPost (
7373 '/private/booking/manage/list' ,
7474 null ,
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export class BookingManageRoomPricesService {
8585 */
8686 public listSection (
8787 requestBody : ListSectionsBookingRequest ,
88- ) : Observable < RoomsPricesDTO > {
88+ ) : Observable < RoomsPricesDTO [ ] > {
8989 return this . apiService . doPost (
9090 '/private/booking/manage/roomPrices/listSection' ,
9191 null ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export class DirectionService {
2929 * Retrieve all available countries
3030 */
3131 public getCountries (
32- ) : Observable < CountryDTO > {
32+ ) : Observable < CountryDTO [ ] > {
3333 return this . apiService . doGet (
3434 '/private/direction/country_list' ,
3535 null ,
@@ -47,7 +47,7 @@ export class DirectionService {
4747 */
4848 public getProvincesByCountry (
4949 uriOptions : GetDirectionGetProvincesByCountryParams ,
50- ) : Observable < ProvinceDTO > {
50+ ) : Observable < ProvinceDTO [ ] > {
5151 return this . apiService . doGet (
5252 '/private/direction/province_list' ,
5353 uriOptions ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export class OwnerRoomsService {
2929 */
3030 public list (
3131 requestBody : ListRoomsRequest ,
32- ) : Observable < RoomEscapeDTO > {
32+ ) : Observable < RoomEscapeDTO [ ] > {
3333 return this . apiService . doPost (
3434 '/private/owner/rooms/list' ,
3535 null ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export class SearchService {
3131 */
3232 public searchRooms (
3333 uriOptions : GetSearchSearchRoomsParams ,
34- ) : Observable < RoomEscapeDTO > {
34+ ) : Observable < RoomEscapeDTO [ ] > {
3535 return this . apiService . doGet (
3636 '/private/search/rooms' ,
3737 uriOptions ,
@@ -49,7 +49,7 @@ export class SearchService {
4949 */
5050 public searchUsers (
5151 uriOptions : GetSearchSearchUsersParams ,
52- ) : Observable < UserSearchResultDTO > {
52+ ) : Observable < UserSearchResultDTO [ ] > {
5353 return this . apiService . doGet (
5454 '/private/search/users' ,
5555 uriOptions ,
You can’t perform that action at this time.
0 commit comments