1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-06 01:15:28 +02:00

chore: fix formatting of openapi description (#4503)

The indented formatting makes it interpreted as a markdown code block.
This isn't what we want. It's not as pretty, but putting it on one
line makes it render correctly.

What it looks like today:

![image](https://github.com/Unleash/unleash/assets/17786332/5e462931-5a3b-4b75-9cb5-0b21da4838b1)
This commit is contained in:
Thomas Heartman 2023-08-16 08:55:38 +02:00 committed by GitHub
parent 82d0637159
commit eec9593d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,12 +27,7 @@ export const searchEventsSchema = {
}, },
query: { query: {
type: 'string', type: 'string',
description: ` description: `Find events by a free-text search query. The query will be matched against the event type, the username or email that created the event (if any), and the event data payload (if any).`,
Find events by a free-text search query.
The query will be matched against the event type,
the username or email that created the event (if any),
and the event data payload (if any).
`,
example: 'admin@example.com', example: 'admin@example.com',
}, },
limit: { limit: {