diff --git a/generators/java/okhttp-gson/templates/libraries/okhttp-gson/ApiClient.mustache b/generators/java/okhttp-gson/templates/libraries/okhttp-gson/ApiClient.mustache index 342d5a51..1495819d 100644 --- a/generators/java/okhttp-gson/templates/libraries/okhttp-gson/ApiClient.mustache +++ b/generators/java/okhttp-gson/templates/libraries/okhttp-gson/ApiClient.mustache @@ -976,6 +976,7 @@ public class ApiClient { return params; } + @SuppressWarnings("unchecked"){{! Fix unchecked cast warning }} final Map valuesMap = (Map) value; for (Map.Entry entry : valuesMap.entrySet()) { diff --git a/schemas/document_types/document_types.yaml b/schemas/document_types/document_types.yaml index a2aa8dda..a43e0a6c 100644 --- a/schemas/document_types/document_types.yaml +++ b/schemas/document_types/document_types.yaml @@ -29,4 +29,50 @@ enum: - vehicle_registration_certificate - form_for_affixing_the_visa - identification_number_document + - adoption_certificate + - bank_building_society_statement + - bank_statement + - benefit_letters + - cbt + - certificate_of_sponsorship + - character_reference + - civil_partnership_certificate + - council_tax + - credit_card_statement + - deed_poll + - divorce_absolute_decree + - educational_statement + - electricity_bill + - gas_bill + - government_letter + - internet_bill + - marriage_certificate + - motorcycle_insurance + - national_insurance_card + - naturalisation_certificate + - non_uk_driving_licence + - p45_p60 + - payslip + - phone_bill + - professional_identification_card + - right_to_work_share_code_result + - statement_fact + - t4_student_university_term_dates_evidence + - uk_biometric_residence_permit + - uk_driving_licence + - unknown + - utility_bill + - utility_bill_electric + - utility_bill_gas + - utility_bill_other + - water_bill + - address_certificate + - general_letter + - insurance_statement + - pension_property_statement_letter + - mortgage_statement + - mobile_phone_bill + - identity_document_with_address + - exchange_house_statement + - accommodation_tenancy_certificate type: string