We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5791339 commit dd16142Copy full SHA for dd16142
server/zally-core/src/test/kotlin/org/zalando/zally/core/DefaultContextFactoryTest.kt
@@ -14,6 +14,15 @@ class DefaultContextFactoryTest {
14
// OPEN API
15
//
16
17
+ @Test
18
+ fun `OPEN API -- not applicable when content is a String without any properties`() {
19
+ @Language("YAML")
20
+ val content = "Pets API".trimIndent()
21
+ val result = defaultContextFactory.parseOpenApiContext(content)
22
+
23
+ assertThat(result).resultsInNotApplicable()
24
+ }
25
26
@Test
27
fun `OPEN API -- not applicable when content does not contain the openapi property`() {
28
@Language("YAML")
0 commit comments