Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

Improve handling of JsonFieldType.VARIES #16

@mduesterhoeft

Description

@mduesterhoeft

If spring-rest-docs finds a field in a list with multiple types (e.g. once null, once string) it sets the type to JsonFieldType.VARIES - Currently we use a NullSchema in such a case - which is not ideal. It would be better to collect all the types and write a json schema with multiple types - see https://github.com/everit-org/json-schema/blob/master/core/src/main/java/org/everit/json/schema/CombinedSchema.java

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