Closed user0007 closed 5 years ago
It's not possible to reference attributes of another object.
You would have to break out the property definition into a separate data structure. For example:
FORMAT: 1A
# My API
## GET /user
+ Response 200 (application/json)
+ Attributes (User)
## GET /languages
+ Response 200 (application/json)
+ Attributes (Languages)
## Data Structures
### Language (enum)
+ nl
+ de
### Languages
+ languages (array[Language])
### User
+ language (Language)
Hello,
how to use resources attribute as values to other enum field? Example: