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

Custom Fields 'Attributes' #113

Closed
Closed

Description

@rafaharo

Hi,

Current Field specification is quite restrictive in terms of supported attributes. For example, if a final user is interested in rendering the specification using Swagger, there are several attributes like enum that can't be used right now. In order to make possible to add more attributes and not being coupled to a concrete rendering specification, would it be possible to add a dictionary attribute as part of the Field namedtuple for collecting them?. Then final renderers can use such dictionary for including more elements

Activity

  1. lovelydinosaur commented on Feb 15, 2018

    @lovelydinosaur
    Contributor

    We're building out better support for OpenAPI with 3.0, which will address some of this.
    We might choose to flexibly support arbitrary extensions/attributes in the future, but not something I'd like to have just yet. However we probably will stop using immutable object types for 3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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