ERROR:root:52 validation errors for OpenAPI
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.Reference.$ref
Field required [type=missing, input_value={'type': 'array', 'items'...alProperties': False}]}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.Reference.$ref
Field required [type=missing, input_value={'oneOf': [{'type': 'obje...nalProperties': False}]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.0.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...ionalProperties': False}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...lean', 'enum': [True]}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.function-after[handle_nullable(), Schema].properties.hidden-secret.Reference.$ref
Field required [type=missing, input_value={'type': 'boolean', 'enum': [True]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[int]].0
Input should be a valid integer [type=int_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/int_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[str]].0
Input should be a valid string [type=string_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/string_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.1.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...ionalProperties': False}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...lean', 'enum': [True]}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.function-after[handle_nullable(), Schema].properties.hidden-secret.Reference.$ref
Field required [type=missing, input_value={'type': 'boolean', 'enum': [True]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[int]].0
Input should be a valid integer [type=int_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/int_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[str]].0
Input should be a valid string [type=string_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/string_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.2.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...ionalProperties': False}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...lean', 'enum': [True]}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.function-after[handle_nullable(), Schema].properties.hidden-secret.Reference.$ref
Field required [type=missing, input_value={'type': 'boolean', 'enum': [True]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[int]].0
Input should be a valid integer [type=int_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/int_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].items.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[str]].0
Input should be a valid string [type=string_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/string_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.get.responses.200.Reference.$ref
Field required [type=missing, input_value={'content': {'application...}}}}, 'description': ''}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.Reference.$ref
Field required [type=missing, input_value={'oneOf': [{'type': 'obje...nalProperties': False}]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.0.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...ionalProperties': False}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...lean', 'enum': [True]}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.function-after[handle_nullable(), Schema].properties.hidden-secret.Reference.$ref
Field required [type=missing, input_value={'type': 'boolean', 'enum': [True]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[int]].0
Input should be a valid integer [type=int_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/int_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[str]].0
Input should be a valid string [type=string_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/string_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.1.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...ionalProperties': False}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...lean', 'enum': [True]}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.function-after[handle_nullable(), Schema].properties.hidden-secret.Reference.$ref
Field required [type=missing, input_value={'type': 'boolean', 'enum': [True]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[int]].0
Input should be a valid integer [type=int_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/int_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[str]].0
Input should be a valid string [type=string_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/string_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.2.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...ionalProperties': False}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...lean', 'enum': [True]}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.function-after[handle_nullable(), Schema].properties.hidden-secret.Reference.$ref
Field required [type=missing, input_value={'type': 'boolean', 'enum': [True]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[int]].0
Input should be a valid integer [type=int_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/int_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[str]].0
Input should be a valid string [type=string_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/string_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.put.responses.200.Reference.$ref
Field required [type=missing, input_value={'content': {'application...}}}}, 'description': ''}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.Reference.$ref
Field required [type=missing, input_value={'oneOf': [{'type': 'obje...nalProperties': False}]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.0.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...ionalProperties': False}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...lean', 'enum': [True]}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.function-after[handle_nullable(), Schema].properties.hidden-secret.Reference.$ref
Field required [type=missing, input_value={'type': 'boolean', 'enum': [True]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[int]].0
Input should be a valid integer [type=int_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/int_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.0.function-after[handle_nullable(), Schema].properties.password.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[str]].0
Input should be a valid string [type=string_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/string_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.1.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...ionalProperties': False}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...lean', 'enum': [True]}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.function-after[handle_nullable(), Schema].properties.hidden-secret.Reference.$ref
Field required [type=missing, input_value={'type': 'boolean', 'enum': [True]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[int]].0
Input should be a valid integer [type=int_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/int_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.1.function-after[handle_nullable(), Schema].properties.secret_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[str]].0
Input should be a valid string [type=string_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/string_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.2.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...ionalProperties': False}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.Reference.$ref
Field required [type=missing, input_value={'type': 'object', 'prope...lean', 'enum': [True]}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.function-after[handle_nullable(), Schema].properties.hidden-secret.Reference.$ref
Field required [type=missing, input_value={'type': 'boolean', 'enum': [True]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[int]].0
Input should be a valid integer [type=int_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/int_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Response.content.application/json.schema.function-after[handle_nullable(), Schema].oneOf.2.function-after[handle_nullable(), Schema].properties.private_key.function-after[handle_nullable(), Schema].properties.hidden-secret.function-after[handle_nullable(), Schema].enum.list[nullable[str]].0
Input should be a valid string [type=string_type, input_value=True, input_type=bool]
For further information visit https://errors.pydantic.dev/2.5/v/string_type
paths./api/0/projects/{organization_slug}/{project_slug}/symbol-sources/.post.responses.201.Reference.$ref
Field required [type=missing, input_value={'content': {'application...}}}}, 'description': ''}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
Describe the bug
I am trying to create a python client for the sentry api by using this generator.
Not sure if this issue belongs here or to sentry (cause of they created the schema).
Other generators work fine with this schema. See below.
OpenAPI Spec File
https://github.com/getsentry/sentry-api-schema/blob/main/openapi-derefed.json
Desktop (please complete the following information):
Additional context
Log
Working generator
OpenAPITools/openapi-generator
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate -i /local/openapi.json -g python -o /local/out/python@benedikt-bartscher