Skip to content

FunctionalProperty has no description in OpenAPI/TD #314

@rwb27

Description

@rwb27

Describe the bug
The docstring for functional properties is not being correctly displayed as the description in OpenAPI or Thing Description

To Reproduce
Look at OpenAPI or Thing Description docs for the latest OFM release (alpha5). Data properties are documented, but functional properties have no description or title.

Expected behaviour
The docstring of the getter should be used in the documentation.

We should fix this and add or fix the corresponding test code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions