( schema: JSONSchema7 | null | undefined, defCollections: DefinitionCollections, )
| 1817 | } |
| 1818 | |
| 1819 | function methodUsesInternalSchema( |
| 1820 | schema: JSONSchema7 | null | undefined, |
| 1821 | defCollections: DefinitionCollections, |
| 1822 | ): boolean { |
| 1823 | if (!schema) return false; |
| 1824 | |
| 1825 | const nonNullable = getNullableInner(schema) ?? schema; |
| 1826 | const resolved = resolveSchema(nonNullable, defCollections) ?? nonNullable; |
| 1827 | return isSchemaInternal(resolved); |
| 1828 | } |
| 1829 | |
| 1830 | function pushNamespaceMethodBody( |
| 1831 | out: string[], |
no test coverage detected
searching dependent graphs…