Skip to content

jsonschema always detects as JSON when file has no extension #583

@fmors

Description

@fmors

Sometimes files have no extension. In this case, it seems like jsonschema tries to load them as JSON, which is not always the correct guess. It would be nice if it could detect the file based on its contents or have a new parameter (--type, for example) where one could pass json, yaml or one of the other formats supported by jsonschema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions