getappmap / getappmap/appmap-python

Does it support the content type: vnd.api+json ?

Open
#162 1 comment 0 reactions 0 assignees View on GitHub

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.

image

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

Could you give me some guides? Thanks!

And my purpose is to use npx appmap openapi to generate the document.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.