Skip to content
New issue

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

OpenApi generation not working #129

Open
jahell opened this issue Nov 18, 2020 · 12 comments
Open

OpenApi generation not working #129

jahell opened this issue Nov 18, 2020 · 12 comments
Labels
bug Something isn't working

Comments

@jahell
Copy link

jahell commented Nov 18, 2020

Hi there. I'm trying to generate a sdk for the REST API in kotlin. Following the instructions on https://github.com/OpenAPITools/openapi-generator, I'm running the following command to do so.

openapi-generator generate -i https://raw.githubusercontent.com/PagerDuty/api-schema/main/reference/REST/openapiv3.json -g kotlin -o /tmp/pagerduty_sdk

openapi-generator version: 4.3.1
OS: macOS

I'm getting the following error. Any pointers on what is going wrong here?

[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] ERROR o.o.codegen.utils.ModelUtils - Failed to obtain schema from 0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/requestBody/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/requestBody/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/requestBody/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/requestBody/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/responses/200/content/application~1json/schema/allOf/0/properties/data/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/responses/200/content/application~1json/schema/allOf/0/properties/data/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/requestBody/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/requestBody/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/requestBody/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/requestBody/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/responses/200/content/application~1json/schema/allOf/0/properties/data/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/responses/200/content/application~1json/schema/allOf/0/properties/data/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/requestBody/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1metrics~1incidents~1all/post/requestBody/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1raw~1incidents~1%7Bid%7D/get/responses/200/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1analytics~1raw~1incidents~1%7Bid%7D/get/responses/200/content/application~1json/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/parameters/10/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/parameters/10/schema
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/records/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/records/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/response_metadata/anyOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/response_metadata/anyOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/1
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/1
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1incidents/put/responses/413
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D/put/requestBody/content/application~1json/schema/properties/ruleset
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D/put/requestBody/content/application~1json/schema/properties/ruleset
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D/put/requestBody/content/application~1json/schema/properties/ruleset
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D/put/requestBody/content/application~1json/schema/properties/ruleset
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D/put/requestBody/content/application~1json/schema/properties/ruleset
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D/put/requestBody/content/application~1json/schema/properties/ruleset
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D/put/requestBody/content/application~1json/schema/properties/ruleset
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D/put/requestBody/content/application~1json/schema/properties/ruleset
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D/put/requestBody/content/application~1json/schema/properties/ruleset
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D/put/requestBody/content/application~1json/schema/properties/ruleset
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule/allOf/1/properties/actions
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule/allOf/1/properties/actions
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/records/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/records/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/response_metadata/anyOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/response_metadata/anyOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/1
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/1
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/records/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/records/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/response_metadata/anyOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/response_metadata/anyOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/1
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/1
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule/allOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1rulesets~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule/allOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1services~1%7Bid%7D~1rules/post/requestBody/content/application~1json/schema/properties/rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/records/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/records/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/response_metadata/anyOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/response_metadata/anyOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/1
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/1
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/records/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/records/items
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/response_metadata/anyOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/0/properties/response_metadata/anyOf/0
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/1
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1audit~1records/get/responses/200/content/application~1json/schema/allOf/1
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1users~1%7Bid%7D~1status_update_notification_rules/post/requestBody/content/application~1json/schema/properties/status_update_notification_rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1users~1%7Bid%7D~1status_update_notification_rules/post/requestBody/content/application~1json/schema/properties/status_update_notification_rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1users~1%7Bid%7D~1status_update_notification_rules/post/requestBody/content/application~1json/schema/properties/status_update_notification_rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1users~1%7Bid%7D~1status_update_notification_rules/post/requestBody/content/application~1json/schema/properties/status_update_notification_rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1users~1%7Bid%7D~1status_update_notification_rules/post/requestBody/content/application~1json/schema/properties/status_update_notification_rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1users~1%7Bid%7D~1status_update_notification_rules/post/requestBody/content/application~1json/schema/properties/status_update_notification_rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1users~1%7Bid%7D~1status_update_notification_rules/post/requestBody/content/application~1json/schema/properties/status_update_notification_rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1users~1%7Bid%7D~1status_update_notification_rules/post/requestBody/content/application~1json/schema/properties/status_update_notification_rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1users~1%7Bid%7D~1status_update_notification_rules/post/requestBody/content/application~1json/schema/properties/status_update_notification_rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1users~1%7Bid%7D~1status_update_notification_rules/post/requestBody/content/application~1json/schema/properties/status_update_notification_rule
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/400
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/401
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/403
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/400
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/401
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/403
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/400
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/401
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/403
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions~1%7Bid%7D/get/responses/404
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/400
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/401
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/403
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions~1%7Bid%7D/get/responses/404
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/401
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions/get/responses/403
[main] WARN  o.o.codegen.utils.ModelUtils - Failed to get the schema name: #/paths/~1webhook_subscriptions~1%7Bid%7D/get/responses/404
Exception in thread "main" org.openapitools.codegen.SpecValidationException: There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).
 | Error count: 5, Warning count: 1
Errors:
        -attribute paths.'/schedules/{id}/users'(get).parameters.There are duplicate parameter values
        -attribute paths.'/schedules/{id}'(get).parameters.There are duplicate parameter values
        -attribute paths.'/log_entries'(get).parameters.There are duplicate parameter values
        -attribute paths.'/incidents/{id}/log_entries'(get).parameters.There are duplicate parameter values
        -attribute paths.'/schedules/preview'(post).parameters.There are duplicate parameter values
Warnings:
        -attribute paths.'/schedules/{id}/users'(get).parameters.There are duplicate parameter values
        -attribute paths.'/schedules/{id}'(get).parameters.There are duplicate parameter values
        -attribute paths.'/log_entries'(get).parameters.There are duplicate parameter values
        -attribute paths.'/incidents/{id}/log_entries'(get).parameters.There are duplicate parameter values
        -attribute paths.'/schedules/preview'(post).parameters.There are duplicate parameter values

        at org.openapitools.codegen.config.CodegenConfigurator.toContext(CodegenConfigurator.java:480)
        at org.openapitools.codegen.config.CodegenConfigurator.toClientOptInput(CodegenConfigurator.java:507)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:423)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:61)
@bzmw
Copy link
Contributor

bzmw commented Nov 19, 2020

Hey @jahell , we've had a very hard time with openapi-generator and our schema. Specifically when it comes to references.

Our schema is very large and complicated and a lot of the generators do not handle it well.
Looking through the error messages that are outlined here and correlating them to the specific models it's calling out doesn't lead me to believe that there is an error in our schema.
For example -attribute paths.'/schedules/{id}/users'(get).parameters.There are duplicate parameter values, when I dig into this model I see that there are not duplicate parameter values. There are similarly named parameter values that are references.

Have you also opened a bug with the Kotlin Generator?

@jahell
Copy link
Author

jahell commented Nov 19, 2020

@bzmw Thanks for the quick reply. The error is persistent for me regardless of what language I specify to generate the schema for. Hence, I don't think it's something specific to the Kotlin generator.

I thought using openapi generation was the primary use case of this repository. Is there another way for me to use the schema references to generate an api client?

@bzmw
Copy link
Contributor

bzmw commented Nov 27, 2020

@jahell -
I just pushed a huge refactor of our schema that should get rid of most of the complicated $ref values and may help you get a generated client. Our schema is massive though so I'm scared that it still won't work, specifically we've encountered circular reference errors with other folks.

As for generating a client through another means- there are other generators but none nearly as popular as openapi generator.

Sorry I can't help you more :(

@andoriyu
Copy link

andoriyu commented Nov 3, 2021

@bzmw looks it still doesn't work:

Exception in thread "main" org.openapitools.codegen.SpecValidationException: There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).
 | Error count: 1, Warning count: 12
Errors:
        -attribute components.schemas.ContentBasedAlertGroupingConfiguration.items is missing
Warnings:
        -attribute components.schemas.ContentBasedAlertGroupingConfiguration.items is missing

        at org.openapitools.codegen.config.CodegenConfigurator.toContext(CodegenConfigurator.java:546)
        at org.openapitools.codegen.config.CodegenConfigurator.toClientOptInput(CodegenConfigurator.java:573)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:433)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)


@raresantofie
Copy link

Encountering the same issue, any updates?

@RobinMcCorkell
Copy link

Same issue here, I don't have a log file but the online OpenAPI generator (stable and master) give a 500 Internal Server Error, while they work with other schemas.

@vivek-amn
Copy link

The issue still exists. I tried with the latest schema file (https://github.com/PagerDuty/api-schema/blob/main/reference/REST/openapiv3.json) but getting the same error.

command:
docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli generate --skip-validate-spec \n -i https://raw.githubusercontent.com/PagerDuty/api-schema/main/reference/REST/openapiv3.json \n \n -g python \n -o /local/out/python

@veloxl
Copy link

veloxl commented Oct 18, 2022

Same issue here with the latest version of openapi-generator (with any language specified) and openapiv3.json

openapi-generator version: 6.2.0
OS: macOS

@ethanmsl
Copy link

Can confirm same issue.
Validator produces 21 errors and 11 (unused model) warnings as of now, for the REST spec.
This is currently blocking automatic generation of client code for PagerDuty API interaction.

Reproduce:

brew install openapi-generator
cd <...>/api-schema/reference/REST
openapi-generator validate --input-spec openapiv3.json
Error and Warning Output collapsable
```
Errors:
    - components.responses.UnprocessableEntity.content.'application/json'.schema.$ref target
      #/components/responses/Conflict/content/application~1json/schema is not of expected type
      Schema
    - components.schemas.AutomationActionsAbstractAction.$ref target
      #/components/parameters/automation_actions_action_type/schema is not of expected type
      Schema
    - components.responses.NotFound.content.'application/json'.schema.$ref target
      #/components/responses/Conflict/content/application~1json/schema is not of expected type
      Schema
    - attribute components.schemas.RenderedTemplate.items is missing
    - components.schemas.AutomationActionsInvocation.$ref target
      #/components/parameters/automation_actions_action_type/schema is not of expected type
      Schema
    - components.responses.InternalServerError.content.'application/json'.schema.$ref target
      #/components/responses/Conflict/content/application~1json/schema is not of expected type
      Schema
    - attribute components.schemas.ContentBasedAlertGroupingConfiguration.items is missing
    - components.schemas.AutomationActionsAbstractActionPostBody.$ref target
      #/components/parameters/automation_actions_action_type/schema is not of expected type
      Schema
    - attribute components.schemas.WebhookSubscription.items is missing
    - components.schemas.AutomationActionsInvocation.$ref target
      #/components/parameters/automation_actions_invocation_state/schema is not of expected type
      Schema
    - components.responses.Unauthorized.content.'application/json'.schema.$ref target
      #/components/responses/Conflict/content/application~1json/schema is not of expected type
      Schema
    - components.responses.TooManyRequests.content.'application/json'.schema.$ref target
      #/components/responses/Conflict/content/application~1json/schema is not of expected type
      Schema
    - components.responses.ArgumentError.content.'application/json'.schema.$ref target
      #/components/responses/Conflict/content/application~1json/schema is not of expected type
      Schema
    - components.schemas.AutomationActionsAbstractActionPutBody.$ref target
      #/components/parameters/automation_actions_action_type/schema is not of expected type
      Schema
    - components.responses.RequestEntityTooLarge.content.'application/json'.schema.$ref target
      #/components/responses/Conflict/content/application~1json/schema is not of expected type
      Schema
    - components.schemas.AuditRecord.$ref target
      #/components/parameters/audit_method_type/schema is not of expected type Schema
    - components.parameters.automation_actions_not_invocation_state.[not_invocation_state].schemas.$ref
      target #/components/parameters/automation_actions_invocation_state/schema is not of
      expected type Schema
    - paths.'/event_orchestrations/services/{service_id}/active'(put).requestBody.content.'application/json'.schema.$ref
      target
      #/components/responses/OrchestrationPathServiceActiveResponse/content/application~1json/schema
      is not of expected type Schema
    - components.responses.PaymentRequired.content.'application/json'.schema.$ref target
      #/components/responses/Conflict/content/application~1json/schema is not of expected type
      Schema
    - components.responses.Forbidden.content.'application/json'.schema.$ref target
      #/components/responses/Conflict/content/application~1json/schema is not of expected type
      Schema
    - components.responses.NotAllowed.content.'application/json'.schema.$ref target
      #/components/responses/Conflict/content/application~1json/schema is not of expected type
      Schema
Warnings:
        - Unused model: TagReference
        - Unused model: IncidentAddon
        - Unused model: IncidentPrivilege
        - Unused model: IncidentWorkflowActionInvocation
        - Unused model: BusinessServiceReference
        - Unused model: UserRole
        - Unused model: WebhookReference
        - Unused model: AlertReference
        - Unused model: ExtensionReference
        - Unused model: IncidentWorkflowTriggerInstance
        - Unused model: MaintenanceWindowReference

[error] Spec has 21 errors.
```

You can also, quickly see a subset of those errors with the online Swagger editor:
The above url should have our REST spec loaded, but it not you can just plug this in : https://raw.githubusercontent.com/PagerDuty/api-schema/main/reference/REST/openapiv3.json

Screenshot 2023-12-20 at 12 12 00 PM

For impact context: these (and possibly other) spec errors are impacting the ability to derive client request and response code. (e.g. datamodel-code-generator as well as server mocking and client code generation for a multitude of languages (java, go rust, python, ruby, etc.))), which aid in building more robust PagerDuty integrations.

Thanks in advance for helping resolve this. 🌮 👥 🚀

@ethanmsl ethanmsl added the bug Something isn't working label Dec 20, 2023
@LazaroOnline
Copy link

The codegen tool NSwag for dotnet also fails to generate code for PagerDuty OpenAPI schema for the same reason of invalid data model:

dotnet tool install -g NSwag.ConsoleCore

nswag openapi2csclient  /output:PagerDutyClient.cs  /namespace:MyApp /input:https://raw.githubusercontent.com/PagerDuty/api-schema/main/reference/REST/openapiv3.json

Screenshot 2024-08-21 073103

I believe there are 2 problems here:
1 - PagerDuty API schema either is too complex or just invalid and should be fixed (this issue)
2 - The code-generator should still be able to generate the code skipping the invalid/unsupported parts, (NSwag bug 4967)

@LazaroOnline
Copy link

Also fails to generate code with Microsoft's AutoRest for the same reason of invalid data model:

npm install -g autorest

autorest --csharp --input-file=https://raw.githubusercontent.com/PagerDuty/api-schema/main/reference/REST/openapiv3.json
image
error   | InvalidRef | Ref '#/paths/~1incidents~1customfields/get/responses/200/content/application~1json/schema/allOf/0/properties/fields/items/allOf/1/properties/fieldoptions/items/allOf/0/properties/data/oneOf/0' is not referencing a valid location. components,schemas,CustomFieldsEditableFieldOption,properties,data
    - https://raw.githubusercontent.com/PagerDuty/api-schema/main/reference/REST/openapiv3.json:15891:11
fatal   | Plugin 'full-ref-resolver' completed with some error.
error   |   Error: Plugin 'full-ref-resolver' completed with some error.
error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.

@LazaroOnline
Copy link

Also fails to generate code with swagger-codegen for the same reason of invalid data model:

iwr  -OutFile swagger-codegen-cli-3.jar https://maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.61/swagger-codegen-cli-3.0.61.jar

java -jar swagger-codegen-cli-3.jar generate -l csharp-dotnet2 -i https://raw.githubusercontent.com/PagerDuty/api-schema/main/reference/REST/openapiv3.json
image
Exception in thread "Thread-0" java.lang.NullPointerException: Could not find model for reference: #/components/schemas/AutomationActionsAbstractAction/allOf/1/properties/last_run_by/oneOf/1
        at io.swagger.codegen.v3.generators.SchemaHandler.addInterfaces(SchemaHandler.java:216)
        at io.swagger.codegen.v3.generators.SchemaHandler.processComposedSchema(SchemaHandler.java:129)
        at io.swagger.codegen.v3.generators.SchemaHandler.processComposedSchemas(SchemaHandler.java:57)
        at io.swagger.codegen.v3.ISchemaHandler.readProcessedModels(ISchemaHandler.java:30)
        at io.swagger.codegen.v3.DefaultGenerator.generateModels(DefaultGenerator.java:396)
        at io.swagger.codegen.v3.DefaultGenerator.generate(DefaultGenerator.java:793)
        at io.swagger.codegen.v3.cli.cmd.Generate.run(Generate.java:388)
        at java.base/java.lang.Thread.run(Thread.java:829)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants