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
Hi -- it appears that this library currently only supports the following parameter types: query, path, header, and body based on what I'm seeing in the source code. Was it an intentional decision to not include cookie parameters? If not would it be possible to add support?
Here's an example for reference.
Swagger doc OpenAPI example endpoint:
{
...
"/v1/testUserData/{locale}": {
"get": {
"tags": [
"test-controller"
],
"summary": "A summary of the test user endpoint",
"description": "A description of the test user endpoint.",
"operationId": "getTestUserData",
"parameters": [
{
"name": "AUTH_TOKEN",
"in": "cookie",
"description": "Auth Cookie",
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
}
},
{
"name": "locale",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TestResponse"
}
}
}
}
}
}
},
...
}
...
typed-openapi output based on the Swagger doc OpenAPI example above:
Hi -- it appears that this library currently only supports the following parameter types:
query
,path
,header
, andbody
based on what I'm seeing in the source code. Was it an intentional decision to not includecookie
parameters? If not would it be possible to add support?Here's an example for reference.
Swagger doc OpenAPI example endpoint:
typed-openapi
output based on the Swagger doc OpenAPI example above:As you can see it is stripping out the
AUTH_TOKEN
parameter.The text was updated successfully, but these errors were encountered: