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

Respect list and list-only parameter types #46

Open
vky opened this issue Sep 25, 2013 · 0 comments
Open

Respect list and list-only parameter types #46

vky opened this issue Sep 25, 2013 · 0 comments
Labels

Comments

@vky
Copy link
Owner

vky commented Sep 25, 2013

{                                                                                
    "Name": "exclude_dirs",                                                      
    "Required": "N",                                                             
    "Type": "list",                                                              
    "Description": "List of directories to be excluded. | stub",                 
    "parameters": [                                                              
        {                                                                        
            "Required": "N",                                                     
            "Type": "string"                                                     
        }                                                                        
    ]                                                                            
}  

I had the idea of making use of a sub-parameter in the description of a list or list-only parameter description to determine how the parameter would be displayed.

Right now, it defaults to a string type parameter, regardless of what sub-parameter may be there. It may be useful if the other types were recognized. An array of numbers for whatever reason could be something that may be expected, and this does not handle that currently.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant