acoustic-content-samples/wch-openapi-documentation

Semantic error?

Opened this issue · 0 comments

Noticed the YAML had been updated, however it still throws up errors when you open it with the Swagger editor https://editor.swagger.io/

Examples are:

Semantic error at paths./authoring/v1/comments.post.responses.201.schema.required.0
Read only properties cannot be marked as required by a schema.
Jump to line 2596

Semantic error at paths./authoring/v1/comments/{id}.get.responses.200.schema.required.0
Read only properties cannot be marked as required by a schema.
Jump to line 2596

Semantic error at paths./authoring/v1/comments/{id}.put.responses.200.schema.required.0
Read only properties cannot be marked as required by a schema.
Jump to line 2596

Semantic error at definitions.Comment4.required.0
Read only properties cannot be marked as required by a schema.
Jump to line 2596

Semantic error at definitions.QueryResult4.properties.items.items.required.0
Read only properties cannot be marked as required by a schema.
Jump to line 2596

Semantic error at paths./authoring/v1/comments/by-item/{classification}/{id}.get.responses.200.schema.properties.items.items.required.0
Read only properties cannot be marked as required by a schema.
Jump to line 2596