amadeus-java icon indicating copy to clipboard operation
amadeus-java copied to clipboard

PolicyDetails doesn't match json spec

Open steve-donovan opened this issue 3 years ago • 0 comments

Description

paymentType missing, and other properties with wrong types

    "HotelProduct_PolicyDetails": {
      "title": "HotelProduct_PolicyDetails",
      "description": "Booking Rules",
      "type": "object",
      "properties": {
        "paymentType": {
          "$ref": "#/definitions/PaymentType"
        },
        "guarantee": {
          "$ref": "#/definitions/HotelProduct_GuaranteePolicy"
        },
        "deposit": {
          "$ref": "#/definitions/HotelProduct_DepositPolicy"
        },
        "prepay": {
          "$ref": "#/definitions/HotelProduct_DepositPolicy"
        },
        "holdTime": {
          "$ref": "#/definitions/HotelProduct_HoldPolicy"
        },
        "cancellation": {
          "$ref": "#/definitions/HotelProduct_CancellationPolicy"
        },
        "checkInOut": {
          "$ref": "#/definitions/HotelProduct_CheckInOutPolicy"
        }
      }
    },

Screenshot 2022-09-22 at 13 51 29

steve-donovan avatar Sep 22 '22 12:09 steve-donovan