Skip to content

OpenAPI: Circular references break generation #288

Open
@Jolanrensen

Description

@Jolanrensen

For example: https://youtrack.jetbrains.com/api/openapi.json
According to https://apitools.dev/swagger-parser/online/, there exists a circular reference and that would explain the cannot find ref IllegalStateException that is thrown when trying to generate @DataSchemas from this OpenAPI spec.

While circular references don't work in JSON, it is possible with optional properties to support it in an OpenAPI spec.

Metadata

Metadata

Assignees

Labels

OpenAPIChanges related to OpenAPI, JSON (schema), etc.bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions