italia / developers-italia-api

API for the developers.italia.it public software collection
https://api.developers.italia.it
GNU Affero General Public License v3.0
9 stars 6 forks source link

feat: add search parameters in GET /v1/logs #237

Closed nesangcode closed 3 months ago

nesangcode commented 3 months ago

User can find related message field in the log by including search parameters in GET /v1/logs

Example:

GET /v1/logs/?search=logmessage

closes #236

nesangcode commented 3 months ago

Thanks!

Can you please also add the new parameter to the OpenAPI spec?

Sure.

nesangcode commented 3 months ago

Can we improve this further by making the search result case insensitive?

bfabio commented 3 months ago

Can we improve this further by making the search result case insensitive?

Yes, good idea

nesangcode commented 3 months ago

Why spectral didn't pass when it encounters debug word?

bfabio commented 3 months ago

Why spectral didn't pass when it encounters debug word?

I'm not sure, maybe it matched some rule.

nesangcode commented 3 months ago

Thanks for guiding me resolving this issue.