Skip to content

Commit

Permalink
docs(APIv2): correct searching by percent_compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
romanblanco committed Nov 22, 2024
1 parent 3352e2d commit 7a37100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/integration/v2/reports_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
pagination_params_v2
ids_only_param
sort_params_v2(V2::Report, except: %i[os_major_version])
search_params_v2(V2::Report, except: %i[os_major_version with_reported_systems])
search_params_v2(V2::Report, except: %i[os_major_version with_reported_systems percent_compliant])

parameter name: :system_id, in: :path, type: :string, required: true

Expand Down
2 changes: 1 addition & 1 deletion swagger/v2/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2389,7 +2389,7 @@
"name": "filter",
"in": "query",
"required": false,
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title` and `percent_compliant`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
"description": "Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)",
"schema": {
"type": "string"
}
Expand Down

0 comments on commit 7a37100

Please sign in to comment.