    @Test(description = "Test OAS definition generation when input ballerina service is invalid")
    public void testServiceWithTypo() {

        try {
            String oasDef = SwaggerConverterUtils.generateOAS3Definitions(invalidEchoServiceBal, null);
            Assert.fail("Error was not thrown for invalid ballerina service");
        } catch (IOException e) {
            Assert.fail("Error while converting ballerina echo service to swagger definition");
        } catch (SwaggerConverterException e) {
            Assert.assertEquals(e.getMessage(), "Please check if input source is valid and complete");
        }
    }