*: replace swagger with openapi
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -44,7 +44,7 @@ If you want to generate the client without installing anything, run this command
|
||||
docker run \
|
||||
--rm -v $(pwd):/local \
|
||||
openapitools/openapi-generator-cli generate \
|
||||
-i /local/swagger.yaml \
|
||||
-i /local/schema.yml \
|
||||
-g typescript-fetch \
|
||||
-o /local/web/api \
|
||||
--additional-properties=typescriptThreePlus=true,supportsES6=true,npmName=authentik-api,npmVersion=1.0.0
|
||||
|
@ -10,7 +10,7 @@ function APIBrowser() {
|
||||
return (
|
||||
<Layout title="API Browser" description={siteConfig.tagline}>
|
||||
<rapi-doc
|
||||
spec-url={useBaseUrl("swagger.yaml")}
|
||||
spec-url={useBaseUrl("schema.yml")}
|
||||
allow-try="false"
|
||||
show-header="false"
|
||||
theme="dark"
|
||||
|
1
website/static/schema.yaml
Symbolic link
1
website/static/schema.yaml
Symbolic link
@ -0,0 +1 @@
|
||||
../../schema.yml
|
Reference in New Issue
Block a user