Skip to content

Instantly share code, notes, and snippets.

@aucampia
Created February 6, 2023 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aucampia/3978827ccd743cb34ffd7c684706b16d to your computer and use it in GitHub Desktop.
Save aucampia/3978827ccd743cb34ffd7c684706b16d to your computer and use it in GitHub Desktop.
20230206T124019 iwanaucamp@iwana-330.local:~/sw/d/github.com/vippsas/innsikt-hotel/projects/databricks-access/tmp
$ pipx run --spec=openapi-python-client==0.13.1 openapi-python-client generate --url https://learn.microsoft.com/en-us/azure/databricks/_extras/api-refs/account-scim-2.0-azure.yaml
⚠️  openapi-python-client is already on your PATH and installed at /Users/iwanaucamp/.local/bin/openapi-python-client. Downloading and running anyway.
Error(s) encountered while generating, client was not created

Failed to parse OpenAPI document

49 validation errors for OpenAPI
paths -> /accounts/{{account_id}}/scim/v2/Users?startIndex=1&count=10 -> get -> parameters -> 3 -> schema -> $ref
  field required (type=value_error.missing)
paths -> /accounts/{{account_id}}/scim/v2/Users?startIndex=1&count=10 -> get -> parameters -> 3 -> schema -> type
  value is not a valid enumeration member; permitted: 'string', 'number', 'integer', 'boolean', 'array', 'object' (type=type_error.enum; enum_values=[<DataType.STRING: 'string'>, <DataType.NUMBER: 'number'>, <DataType.INTEGER: 'integer'>, <DataType.BOOLEAN: 'boolean'>, <DataType.ARRAY: 'array'>, <DataType.OBJECT: 'object'>])
paths -> /accounts/{{account_id}}/scim/v2/Users?startIndex=1&count=10 -> get -> parameters -> 3 -> $ref
  field required (type=value_error.missing)
paths -> /accounts/{{account_id}}/scim/v2/Users?startIndex=1&count=10 -> get -> parameters -> 4 -> schema -> $ref
  field required (type=value_error.missing)
paths -> /accounts/{{account_id}}/scim/v2/Users?startIndex=1&count=10 -> get -> parameters -> 4 -> schema -> type
  value is not a valid enumeration member; permitted: 'string', 'number', 'integer', 'boolean', 'array', 'object' (type=type_error.enum; enum_values=[<DataType.STRING: 'string'>, <DataType.NUMBER: 'number'>, <DataType.INTEGER: 'integer'>, <DataType.BOOLEAN: 'boolean'>, <DataType.ARRAY: 'array'>, <DataType.OBJECT: 'object'>])
paths -> /accounts/{{account_id}}/scim/v2/Users?startIndex=1&count=10 -> get -> parameters -> 4 -> $ref
  field required (type=value_error.missing)
paths -> /accounts/{{account_id}}/scim/v2/Groups?startIndex=1&count=10 -> get -> parameters -> 3 -> schema -> $ref
  field required (type=value_error.missing)
paths -> /accounts/{{account_id}}/scim/v2/Groups?startIndex=1&count=10 -> get -> parameters -> 3 -> schema -> type
  value is not a valid enumeration member; permitted: 'string', 'number', 'integer', 'boolean', 'array', 'object' (type=type_error.enum; enum_values=[<DataType.STRING: 'string'>, <DataType.NUMBER: 'number'>, <DataType.INTEGER: 'integer'>, <DataType.BOOLEAN: 'boolean'>, <DataType.ARRAY: 'array'>, <DataType.OBJECT: 'object'>])
paths -> /accounts/{{account_id}}/scim/v2/Groups?startIndex=1&count=10 -> get -> parameters -> 3 -> $ref
  field required (type=value_error.missing)
paths -> /accounts/{{account_id}}/scim/v2/Groups?startIndex=1&count=10 -> get -> parameters -> 4 -> schema -> $ref
  field required (type=value_error.missing)
paths -> /accounts/{{account_id}}/scim/v2/Groups?startIndex=1&count=10 -> get -> parameters -> 4 -> schema -> type
  value is not a valid enumeration member; permitted: 'string', 'number', 'integer', 'boolean', 'array', 'object' (type=type_error.enum; enum_values=[<DataType.STRING: 'string'>, <DataType.NUMBER: 'number'>, <DataType.INTEGER: 'integer'>, <DataType.BOOLEAN: 'boolean'>, <DataType.ARRAY: 'array'>, <DataType.OBJECT: 'object'>])
paths -> /accounts/{{account_id}}/scim/v2/Groups?startIndex=1&count=10 -> get -> parameters -> 4 -> $ref
  field required (type=value_error.missing)
paths -> /accounts/{{account_id}}/scim/v2/ServicePrincipals?startIndex=1&count=10 -> get -> parameters -> 3 -> schema -> $ref
  field required (type=value_error.missing)
paths -> /accounts/{{account_id}}/scim/v2/ServicePrincipals?startIndex=1&count=10 -> get -> parameters -> 3 -> schema -> type
  value is not a valid enumeration member; permitted: 'string', 'number', 'integer', 'boolean', 'array', 'object' (type=type_error.enum; enum_values=[<DataType.STRING: 'string'>, <DataType.NUMBER: 'number'>, <DataType.INTEGER: 'integer'>, <DataType.BOOLEAN: 'boolean'>, <DataType.ARRAY: 'array'>, <DataType.OBJECT: 'object'>])
paths -> /accounts/{{account_id}}/scim/v2/ServicePrincipals?startIndex=1&count=10 -> get -> parameters -> 3 -> $ref
  field required (type=value_error.missing)
paths -> /accounts/{{account_id}}/scim/v2/ServicePrincipals?startIndex=1&count=10 -> get -> parameters -> 4 -> schema -> $ref
  field required (type=value_error.missing)
paths -> /accounts/{{account_id}}/scim/v2/ServicePrincipals?startIndex=1&count=10 -> get -> parameters -> 4 -> schema -> type
  value is not a valid enumeration member; permitted: 'string', 'number', 'integer', 'boolean', 'array', 'object' (type=type_error.enum; enum_values=[<DataType.STRING: 'string'>, <DataType.NUMBER: 'number'>, <DataType.INTEGER: 'integer'>, <DataType.BOOLEAN: 'boolean'>, <DataType.ARRAY: 'array'>, <DataType.OBJECT: 'object'>])
paths -> /accounts/{{account_id}}/scim/v2/ServicePrincipals?startIndex=1&count=10 -> get -> parameters -> 4 -> $ref
  field required (type=value_error.missing)
components -> schemas -> User -> $ref
  field required (type=value_error.missing)
components -> schemas -> User -> properties -> emails -> $ref
  field required (type=value_error.missing)
components -> schemas -> User -> properties -> emails -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> User -> properties -> emails -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> UpdateDisplayNameRequest -> $ref
  field required (type=value_error.missing)
components -> schemas -> UpdateDisplayNameRequest -> properties -> Operations -> $ref
  field required (type=value_error.missing)
components -> schemas -> UpdateDisplayNameRequest -> properties -> Operations -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> UpdateDisplayNameRequest -> properties -> Operations -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> AddAdminRequest -> $ref
  field required (type=value_error.missing)
components -> schemas -> AddAdminRequest -> properties -> Operations -> $ref
  field required (type=value_error.missing)
components -> schemas -> AddAdminRequest -> properties -> Operations -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> AddAdminRequest -> properties -> Operations -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> RemoveAdminRequest -> $ref
  field required (type=value_error.missing)
components -> schemas -> RemoveAdminRequest -> properties -> Operations -> $ref
  field required (type=value_error.missing)
components -> schemas -> RemoveAdminRequest -> properties -> Operations -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> RemoveAdminRequest -> properties -> Operations -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> Group -> $ref
  field required (type=value_error.missing)
components -> schemas -> Group -> properties -> members -> $ref
  field required (type=value_error.missing)
components -> schemas -> Group -> properties -> members -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> Group -> properties -> members -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> AddMemberToGroupRequest -> $ref
  field required (type=value_error.missing)
components -> schemas -> AddMemberToGroupRequest -> properties -> Operations -> $ref
  field required (type=value_error.missing)
components -> schemas -> AddMemberToGroupRequest -> properties -> Operations -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> AddMemberToGroupRequest -> properties -> Operations -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> RemoveMemberToGroup -> $ref
  field required (type=value_error.missing)
components -> schemas -> RemoveMemberToGroup -> properties -> Operations -> $ref
  field required (type=value_error.missing)
components -> schemas -> RemoveMemberToGroup -> properties -> Operations -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> RemoveMemberToGroup -> properties -> Operations -> items
  value is not a valid dict (type=type_error.dict)
components -> schemas -> CreateServicePrincipalRequest -> $ref
  field required (type=value_error.missing)
components -> schemas -> CreateServicePrincipalRequest -> properties -> applicationId -> $ref
  field required (type=value_error.missing)
components -> schemas -> CreateServicePrincipalRequest -> properties -> applicationId -> type
  value is not a valid enumeration member; permitted: 'string', 'number', 'integer', 'boolean', 'array', 'object' (type=type_error.enum; enum_values=[<DataType.STRING: 'string'>, <DataType.NUMBER: 'number'>, <DataType.INTEGER: 'integer'>, <DataType.BOOLEAN: 'boolean'>, <DataType.ARRAY: 'array'>, <DataType.OBJECT: 'object'>])


If you believe this was a mistake or this tool is missing a feature you need, please open an issue at https://github.com/openapi-generators/openapi-python-client/issues/new/choose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment