Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

do not use same abstraction for no object properties and empty #93

@hauner

Description

@hauner

see #92

looks likes this case

components:
  schemas:
    AnyValue: {}

and this case

    Foo:
      type: object
      properties:
        bar:
          readOnly: true
          allOf:
            - $ref: '#/components/schemas/Bar'

should not both use NoDataType. For the second case the processor must not generate a class (see object-read-write-properties test case), for the first it could generate one. It should probably have an explicit EmptyDataType.

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