You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2022. It is now read-only.
There's already a TODO in the code for this, but when parsing the OpenAPI schema, API Star does not seem to cater for media types other than application/json.
The OpenAPI 3 specification makes provision for operations to consume many different media types in requestBody, as per the example for Form Data below:
/survey:
post:
requestBody:
required: true
content:
application/x-www-form-urlencoded: # <!--- API Star does not support using this media type
schema:
type: object
properties:
name:
type: string
fav_number:
type: integer
required:
- name
- email
At the moment, using anything other than application/json in the schema will raise a ClientError with code invalid_property.