Skip to content

Commit

Permalink
chore: small optimistations
Browse files Browse the repository at this point in the history
  • Loading branch information
BatLeDev committed Feb 13, 2025
1 parent 1a1f607 commit 8eb039c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
5 changes: 2 additions & 3 deletions ui/src/components/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
<v-chip
density="compact"
:prepend-icon="mdiLabel"
>
{{ info.version }}
</v-chip>
:text="info.version"
/>
</h1>
<div
v-if="info.summary"
Expand Down
10 changes: 4 additions & 6 deletions ui/src/components/navigation-drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@
density="compact"
:disabled="item.deprecated"
:color="colorMethods[item.method]"
>
{{ item.method.toUpperCase() }}
</v-chip>
:text="item.method.toUpperCase()"
/>
</template>
<v-tooltip
v-if="item.summary"
Expand Down Expand Up @@ -107,9 +106,8 @@
density="compact"
:disabled="item.deprecated"
:color="colorMethods[item.method]"
>
{{ item.method.toUpperCase() }}
</v-chip>
:text="item.method.toUpperCase()"
/>
</template>
<v-tooltip
v-if="item.summary"
Expand Down
5 changes: 2 additions & 3 deletions ui/src/components/operation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
v-if="operation.deprecated"
density="compact"
color="warning"
text="Deprecated"
:prepend-icon="mdiAlertCircle"
>
Déprécié
</v-chip>
/>
</h1>

<div
Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/top-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
label="OpenAPI JSON Location"
variant="solo-filled"
clearable
hide-details
hide-details="auto"
:prepend-inner-icon="mdiCodeJson"
/>
<v-spacer />
Expand All @@ -21,7 +21,7 @@
max-width="200"
variant="solo-filled"
clearable
hide-details
hide-details="auto"
:items="exampleFiles"
/> -->
</v-app-bar>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/utils/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const endpointQuerySchemaBase = {
},
body: {
type: 'object',
title: 'Body',
title: 'Request body',
properties: {} as Record<string, any>,
required: [] as string[]
}
Expand Down

0 comments on commit 8eb039c

Please sign in to comment.