Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Type is not inferred from property fileTypes #669

Closed
martincousido opened this issue Oct 30, 2019 · 0 comments
Closed

Type is not inferred from property fileTypes #669

martincousido opened this issue Oct 30, 2019 · 0 comments
Assignees
Milestone

Comments

@martincousido
Copy link
Contributor

martincousido commented Oct 30, 2019

Similarly to the property properties of the "Object" type, the "File" type should be inferred when the property fileTypes is defined (and the type is not set).

Example:

#%RAML 1.0
title: Use_Case_5

types:
  fireworks:
    description: This is a new DataType
    fileTypes:
      - image/gif
@jpbelang jpbelang added this to the 1.0.45 milestone Nov 3, 2019
@jpbelang jpbelang self-assigned this Nov 3, 2019
@jpbelang jpbelang closed this as completed Nov 3, 2019
juanchib pushed a commit to juanchib/raml-java-parser that referenced this issue Mar 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants