Skip to content

Commit

Permalink
change(authorizations): allows to switch via Select (#66)
Browse files Browse the repository at this point in the history
* chore: add Scalar Galaxy example

* chore(security input placeholder): validate if has scheme

* change(operation authorizations): allows to switch via Select

* change(playground auth inputs): use Selected SecurityScheme

* change(default openapi): use ScalarGalaxy

* chore(docs actions): change example

* chore: SecurityScheme interface

* chore: computed setter

* chore: unused const

* chore: release v0.0.3-alpha.34
  • Loading branch information
enzonotario authored Oct 5, 2024
1 parent 02c4fca commit ef8502f
Show file tree
Hide file tree
Showing 14 changed files with 1,681 additions and 955 deletions.
4 changes: 4 additions & 0 deletions dev/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ export default defineConfigWithTheme({
{
text: 'Other',
items: [
{
text: 'Scalar Galaxy',
link: '/scalar-galaxy',
},
{
text: 'Plant Store',
link: '/plant-store',
Expand Down
16 changes: 16 additions & 0 deletions dev/scalar-galaxy/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
aside: true
outline: [1, 2]
title: vitepress-theme-openapi
---

<script setup lang="ts">
import { useRoute, useData } from 'vitepress'
import spec from '../../docs/public/openapi-scalar-galaxy.json'

const route = useRoute()

const { isDark } = useData()
</script>

<OASpec :spec="spec" :isDark="isDark" />
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hero:
link: /guide/getting-started
- theme: alt
text: Example
link: /example/operations/getMuseumHours
link: /example/operations/getAllData

features:
- title: Internationalization (i18n) Support
Expand Down
Loading

0 comments on commit ef8502f

Please sign in to comment.