jmcarp / jmcarp/flask-apispec

openapi_version=3.0.0. -> curl dow not get body at 'try it out' at 'execution'

Open
#218 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
652
Forks
151
PR merge metrics
No merged PRs in 30d

Description

Version 2.0.0

~~~bash
curl` -X POST "http://textors-01:5000/smanlagen" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"name\": \"string\", \"smobjekt_objid\": 0, \"smobjekt_uuid\": \"string\", \"smserver_id\": \"string\"}"
~~~

**vs.**
Version 3.0.0

~~~bash
curl -X POST "http://textors-01:5000/smanlagen" -H "accept: */*"
~~~

is this a bug of this package or some related package?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the issue's OpenAPI 2.0 and 3.0 curl outputs from the Swagger UI “Try it out” execution flow, comparing the missing request body and headers. Trace where flask-apispec generates the OpenAPI 3 request example and determine whether the package or a related dependency omits them; done means the generated command includes the intended body and content type.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, openapi, python
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.