def METHOD_NAME(self, file_name):
    self.create_and_verify_stack(file_name)
    rest_api_id = self.get_physical_id_by_type("AWS::ApiGateway::RestApi")
    apigw_client = self.client_provider.api_client
    response = apigw_client.get_models(restApiId=rest_api_id)
    request_models = response["items"]
    self.assertEqual(request_models[0]["name"], "user")
    self.assertEqual(
        request_models[0]["schema"],
        '{\n  "type" : "object",\n'
        + '  "properties" : {\n    "username" : {\n      "type" : "string"\n    }\n'
        + "  }\n}",
    )