This is only the Swagger document definition. The search API allows you to look up a location from a textual description or address. Nominatim supports structured and free-form search queries.
The API documentation is available here: https://nominatim.org/release-docs/develop/api/Search/