Skip to content

Add support for header and cookie parameters #325

Closed
@dongfangtianyu

Description

@dongfangtianyu

Describe the bug
The location of the parameter. Possible values are "query", "header", "path" or "cookie".

To Reproduce
openapi-python-client generate --url https://v1.api.tttt.one/openapi.json

Expected behavior
generate success

OpenAPI Spec File
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#parameter-locations

Desktop (please complete the following information):

  • OS: Windows 10
  • Python Version: 3.9
  • openapi-python-client version :0.7.3

Additional context
nothing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions