shaded-enmity / ansible-schema-generator

Generate JSON schema for language servers from Ansible module documentation
GNU General Public License v3.0
35 stars 8 forks source link

Nested object types don't seem to work #11

Open whitfiea opened 4 years ago

whitfiea commented 4 years ago

For properties like https://docs.ansible.com/ansible/latest/modules/k8s_module.html#parameter-wait_condition the schema generated for the wait_condition property is being defined as string:

"wait_condition": {
     "type": "string",
     "description": "Specifies a custom condition on the status to wait for. Ignored if C(wait) is not set or is set to False."
}

when I believe it should be an object with properties.