-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Description
When path paramter value is referenced to to parameter component, the values inside the OpeanApiParamter (name, in, description, etc) are all null.
fot example:
{
"openapi": "3.0.0",
"servers": [
{
"url": "https://www....com/v3"
}
],
"info": {
"title": "title",
"description": "description",
"version": "v3"
},
"paths": {
"/activities": {
"get" : {...},
"post: {...},
"parameters": [
{
"$ref": "#/components/parameters/alt"
}
]
}
}
"components": {
"parameters": {
"alt": {
"name": "alt",
"in": "query",
"description": "desc",
"schema": {
"type": "string",
"enum": [
"json"
],
"default": "json"
}
}
}
}
}
alt paramter values are all null.
Metadata
Metadata
Assignees
Labels
No labels