Skip to content

Generate OpenAPI Python Client #15176

Open
@jmchilton

Description

@jmchilton

Not working yet...

python ./scripts/dump_openapi_schema.py > /tmp/gxschema.json &&  openapi-python-client generate --path /tmp/gxschema.json
No Galaxy config file found, running from current working directory: /Users/jxc755/workspace/galaxy
/Users/jxc755/workspace/galaxy/lib/galaxy/webapps/openapi/utils.py:461: UserWarning: Merging operation with id fetch_json_api_tools_fetch_post with operation with id fetch_form_api_tools_fetch_post.
  warnings.warn(message)
Error(s) encountered while generating, client was not created

Failed to parse OpenAPI document

3 validation errors for OpenAPI
paths -> /api/pages -> get -> parameters -> 6 -> schema -> $ref
  field required (type=value_error.missing)
paths -> /api/pages -> get -> parameters -> 6 -> schema -> exclusiveMaximum
  value could not be parsed to a boolean (type=type_error.bool)
paths -> /api/pages -> get -> parameters -> 6 -> $ref
  field required (type=value_error.missing)


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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions