Skip to content

Skip type: string + format: binary in object properties #312

@czechboy0

Description

@czechboy0

Until we support multipart (#36), we need to skip type: string, format: binary properties, as they get generated inside Codable structs and fail to compile.

Might require the isSchemaSupported family of functions to gain some "context" enum that tells the function where the schema is being used, and while we need to allow this schema as a root schema of application/octet-stream (and other binary) content types, we should disallow it (by skipping it) as object properties.

Once we support multipart, we'll likely generate non-Codable structs to hold the schemas used by multipart, but that's TBD and out of scope of this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/generatorAffects: plugin, CLI, config file.kind/bugFeature doesn't work as expected.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions