Skip to content

Generalized handling of meta object #1063

Open
@maurei

Description

@maurei

Currently the OpenApi integration only assumes a meta object at the top-level of a response document.

In JADNC it is possible to include metadata at places deeper in the document structure as well. The following places can be used to configure metadata:

  • JsonApiOptions.IncludeTotalResourceCount
  • Implementations of IResponseMeta
  • Implementations of ResourceDefinitions.GetMeta(TResource)

Upon adding meta to schemas during the generation, these configurations should be taken into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions