PagerDuty / api-schema

PagerDuty OpenAPI schemas
30 stars 25 forks source link

Invalid empty property name in OpenAPIv3 json schema for model Notification properties #477

Open LazaroOnline opened 3 months ago

LazaroOnline commented 3 months ago

The PagerDuty's OpenAPIv3 schema has an error in Line 8785: within the json path: components.schemas.Notification.properties the last property has an empty name of "": { "type": "string" } which is invalid.

Some OpenAPI client code generators like the openapi-generator won't work with empty property names and produce invalid code due to this.

Please either add the missing name to the property or remove the empty property from the schema.