getappmap / getappmap/appmap-python
Does it support the content type: vnd.api+json ?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 104
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
HI @dividedmind
I'm using from rest_framework.test import APITestCase in my test case with the following env:
djangorestframework==3.11.1
djangorestframework-jsonapi==3.2.0
Django==3.0
The login function in the test case I tried several ways but it still doesn't record my request data.

When I open the appmap in VS code, the data always missing and the content type is wrong.

Could you give me some guides? Thanks!
And my purpose is to use npx appmap openapi to generate the document.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the APITestCase request with Django REST Framework 3.11.1, djangorestframework-jsonapi 3.2.0, and Django 3.0. Inspect how the request data and vnd.api+json content type are recorded, then run npx appmap openapi to verify whether the generated document includes the request data and correct content type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, openapi, python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100