Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property Member Constraints #359

Closed
zatziky opened this issue Oct 1, 2016 · 1 comment
Closed

Property Member Constraints #359

zatziky opened this issue Oct 1, 2016 · 1 comment

Comments

@zatziky
Copy link

zatziky commented Oct 1, 2016

Is there a way how to specify limits, ranges and other constraints to property members?

From Attributes I couldn't find a way.

Particularly, I would to set an upper limit on a text length:

### TextContent (Content)

+ type: "text"

+ payload (string, MAX_LENGTH:320) - Text to be sent. 
@w-vi
Copy link
Member

w-vi commented Oct 1, 2016

Unfortunately not yet, there is a ongoing discussion (apiaryio/mson#43) but nothing has been implemented.

Related question: apiaryio/mson#72

Closing this one in favor of others.

@w-vi w-vi closed this as completed Oct 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants