Skip to content

content : {"application/json ; charset=utf-8": ... } not recognized by some tooling #12

@fwaris

Description

@fwaris

The swagger.json file has media type as "application/json; charset=utf-8", e.g:

"responses": {
          "200": {
            "description": "Symbol Suggest",
            "content": {
              "application/json; charset=utf-8": {
                "schema": {
                  "$ref": "#/components/schemas/SymbolSuggestDefinition"
                }
              }
            }
          },

This is not recognized by some tooling that auto-generate client code (e.g. SwaggerProvider).

I changed "application/json; charset=utf-8" to just "application/json" to fix this issue.

Of course, the tooling does not handle the streaming media type so those api calls can't be done with the generated code - but its good to have the rest auto-generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions