Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 59 additions & 15 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 23 additions & 3 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion specification/_json_spec/project.tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@
"paths": [
{
"path": "/_project/tags",
"methods": ["GET"]
"methods": ["GET", "POST"]
}
]
},
"params": {
"project_routing": {
"type": "string",
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think for this endpoint, this description (which you probably grabbed from the other endpoints) is misleading, since this usage is different and doesn't actually search linked projects.

So I would like something (for this endpoint only) more like:

A Lucene query using project metadata tags used to filter which projects are returned in the response, such as ...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

}
}
}
}
9 changes: 8 additions & 1 deletion specification/project/tags/TagsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ export interface Request extends RequestBase {
urls: [
{
path: '/_project/tags'
methods: ['GET']
methods: ['GET', 'POST']
}
]
query_parameters: {
/**
* A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*.
* @availability serverless stability=experimental visibility=public
*/
project_routing?: string
}
}
Loading