Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

OpenAPI specification user search endpoint issue

Christian Beikov November 18, 2024

I tried to generate a client for the OpenAPI specification of Jira datacenter, but had trouble with it, because the definition of various search endpoints wrongly returns just a single item instead of an array.

For example, the user search currently looks like this

"responses": {
"200": {
"description": "Returns a list of users.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserBean"
}
}
}
}
...
}
But it should be 

 

"responses": {
"200": {
"description": "Returns a list of users.",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserBean"
}
}
}
}
}
...
}

 

Can you please fix that?

 

 

1 answer

0 votes
Jim Knepley - ReleaseTEAM
Atlassian Partner
November 18, 2024

Hi @Christian Beikov, welcome to the community.

The Atlassian team reads this forum, but I think it will be better all around to report this as a bug to https://support.atlassian.com/

 

 

Christian Beikov November 18, 2024

Hi, I'm not a customer, so I can't report on that platform AFAIU. I'm just integrating something and ran into this.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events