-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
When uploading the schema to Cloudflare for their API Abuse protection, this is the response:
1 error found in the file. Correct the issue and upload the file again.
{
"code": 21400,
"message": "failed to load OpenAPI file: failed parsing YAML document: line 4736: cannot unmarshal !!seq into string (critical)"
}I ran it through yamllint, which found probably spurious indentation. RedHat's YAML seemed happy enough.
$ yamllint --version
yamllint 1.37.1
$ yamllint -s plex-api-spec.yaml
plex-api-spec.yaml
5250:51 error trailing spaces (trailing-spaces)
13680:1 error trailing spaces (trailing-spaces)
13688:1 error trailing spaces (trailing-spaces)
13693:1 error trailing spaces (trailing-spaces)
13822:1 error trailing spaces (trailing-spaces)
13832:1 error trailing spaces (trailing-spaces)
14340:1 error trailing spaces (trailing-spaces)
14350:1 error trailing spaces (trailing-spaces)
14642:11 warning wrong indentation: expected 12 but found 10 (indentation)
14645:11 warning wrong indentation: expected 12 but found 10 (indentation)
14676:11 warning wrong indentation: expected 12 but found 10 (indentation)
14683:11 warning wrong indentation: expected 12 but found 10 (indentation)
15212:8 warning wrong indentation: expected 8 but found 7 (indentation)
15355:11 warning wrong indentation: expected 12 but found 10 (indentation)
16933:1 error trailing spaces (trailing-spaces)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels