Skip to content

[req] Add v3 composition not support, json schema not keyword #11770

@spacether

Description

@spacether

Request to add v3 composition not support, json schema not keyword

Description

How about adding support for schemas like:

AnyTypeExceptNull:
not:
  type: 'null'
ObjectWithoutColor:
  type: object
  not:
    type: object
    properties:
      color: {}
    required:
      - color
Swagger-codegen version

3.0.34

Swagger declaration file content or url

See above component schema definition

Command line used for generation

N/A

Steps to reproduce

Generate any client with the above schemas

Related issues/PRs

I didn't find any

Suggest a fix/enhancement

One could do something like openapi-generator did here:
OpenAPITools/openapi-generator#12146

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