We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm new to dredd and was trying it out. But i got the below error while trying to execute:
error: API description parser error in swagger.yml:2486 (from line 2486 column 6 to line 2499 column 4): Additional properties not allowed: optional
swagger: '2.0'
Below are the lines:
swagger.yml:
x-alternatives: - type: string description: password to reset - type: string
line 2486 description: password to reset reset: "$ref": "#/definitions/reset" required: - reset - reset optional: - reset - reset x-alternatives: - "$ref": "#/x-alt-definitions/reset" - "$ref": "#/x-alt-definitions/reset" - "$ref": "#/x-alt-definitions/reset" line 2499 - "$ref": "#/x-alt-definitions/reset" required: - step
Dredd version: dredd v14.0.0 (Darwin 20.6.0; x64)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm new to dredd and was trying it out. But i got the below error while trying to execute:
error: API description parser error in swagger.yml:2486 (from line 2486 column 6 to line 2499 column 4): Additional properties not allowed: optional
swagger: '2.0'
Below are the lines:
swagger.yml:
line 2486 description: password to reset
reset:
"$ref": "#/definitions/reset"
required:
- reset
- reset
optional:
- reset
- reset
x-alternatives:
- "$ref": "#/x-alt-definitions/reset"
- "$ref": "#/x-alt-definitions/reset"
- "$ref": "#/x-alt-definitions/reset"
line 2499 - "$ref": "#/x-alt-definitions/reset"
required:
- step
Dredd version:
dredd v14.0.0 (Darwin 20.6.0; x64)
The text was updated successfully, but these errors were encountered: