Azure / Azure/azure-openapi-validator

Twitter Open API Spec not validating

Open
#203 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
53
Forks
57
Avg merge
1d 23h
Merged PRs (30d)
2

Description

I'm trying to add the twitter open API spec (https://api.twitter.com/labs/2/openapi.json) to Azure API Management and it is not validating. The spec appears to be valid and Swagger renders it without issue.

I'm getting the following issues below.. Any help would be much appreciated.

One or more fields contain incorrect values:

Parsing error(s): Schema Problem must contain property specified in the discriminator type in the required field list. [#/components/schemas/Problem/discriminator]

Parsing error(s): The input OpenAPI file is not valid for the OpenAPI specification https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md (schema https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v3.0/schema.yaml).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.