What happened?
The headers being sent in the PATCH request differ from the ones defined in the api catalog swagger.
According to the API Catalog, the expected Content-Type is:
application/json-patch+json
However, the agent is currently using:
application/json
This mismatch in Content-Type is leading to request failures.
Looks like the issue is coming from https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/utilities/openapi/director.py#L90
Example Code
Version Information
What happened?
The headers being sent in the PATCH request differ from the ones defined in the api catalog swagger.
According to the API Catalog, the expected Content-Type is:
application/json-patch+json
However, the agent is currently using:
application/json
This mismatch in Content-Type is leading to request failures.
Looks like the issue is coming from https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/utilities/openapi/director.py#L90
Example Code
Version Information