Skip to content

Commit

Permalink
Updated swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
freost committed Jan 31, 2024
1 parent 0672157 commit 7b8f2d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2020-2022, Frederic G. Østby
Copyright (c) 2022-2024, Frederic G. Østby
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
6 changes: 3 additions & 3 deletions src/http/controllers/Documentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ public function swagger(URLBuilder $uRLBuilder): string
<head>
<meta charset="UTF-8">
<title>OpenApi - Swagger</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.11.1/swagger-ui.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.11.2/swagger-ui.min.css">
</head>
<body>
<div id="swagger-ui"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.11.1/swagger-ui-bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.11.1/swagger-ui-standalone-preset.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.11.2/swagger-ui-bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.11.2/swagger-ui-standalone-preset.min.js"></script>
<script type="text/javascript">
const SetServerPlugin = (swagger) => ({
rootInjects: {
Expand Down

0 comments on commit 7b8f2d7

Please sign in to comment.