Actions
Refactor #29581
closedDefault to string in api doc for search params where type cannot be deduced
Description
Api doc generation is not able to determine search parameter types when generated without a migrated database (e.g. with nulldb). These types aren't enforced and are always sent to the api as a string (as part of url parameters).
We can default to string value in this case as a safe fallback, and allow users to regenerate the apidoc manually if they require a more specific information (e.g. integer fields).
Updated by Tomer Brisker over 4 years ago
- Related to Feature #29564: Add nulldb support added
Updated by Tomer Brisker over 4 years ago
- Related to Feature #17964: Extend apidoc with list of fields to use in a search added
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Tomer Brisker
- Pull request https://github.com/theforeman/foreman/pull/7598 added
Updated by Tomer Brisker over 4 years ago
- Status changed from Ready For Testing to Rejected
Looks like it's better to keep empty.
Actions