Skip to content

isOpenApiStr logger leaks to Gradle  #785

Open
@koperagen

Description

@koperagen

https://www.kaggle.com/datasets/ruchi798/data-science-job-salaries
Try to generate a schema:

schema {
    sourceSet = "test"
    visibility = org.jetbrains.dataframe.gradle.DataSchemaVisibility.IMPLICIT_PUBLIC
    data = file("src/test/resources/ds_salaries.csv")
    name = "org.jetbrains.kotlinx.dataframe.testSets.DsSalaries"
}

image

It appears as an error, while code generation was in fact successful. Looks bad, i'd revisit why this needs logging and remove if possible

logger.debug(e) { "Attempt to read input as YAML/JSON OpenAPI specification failed." }

logger.debug(e) { "Attempt to read input as YAML/JSON OpenAPI specification failed." }
false

Metadata

Metadata

Assignees

Labels

OpenAPIChanges related to OpenAPI, JSON (schema), etc.bugSomething isn't workinghelp wantedExtra attention is needed, feel free to help :)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions