amadeus4dev / amadeus-java

Java library for the Amadeus Self-Service travel APIs
https://developers.amadeus.com/
MIT License
87 stars 69 forks source link

test api returning data that mismatch some resource models #249

Closed pablichjenkov closed 1 year ago

pablichjenkov commented 1 year ago

Description

While using with the test environment I have notice that some fields don't match the java

Steps to Reproduce

  1. Do a service call to /v1/reference-data/locations/hotels/by-city
  2. observe the Hotel param names
  3. Notice that in the response lastUpdate is not named last_update.

I also noticed that HotelOfferSearch.Hotels miss the following fields: type/latitude/longitude

Expected Behavior: The java sdk field name should match the field name coming from the test environmet

Actual Behavior: The response mismatch the field name.