Commit Graph

14 Commits (cf3c17e3d17f5b3d04b79586a7b497926c996693)

Author SHA1 Message Date
Jonathan Haines b8802e01b7
refactor(swagger-ui): enable isolated declarations (#1208) 2025-06-09 18:52:25 +09:00
Yusuke Wada b9fa57530a
chore: format codes (#1142) 2025-04-27 19:28:24 +09:00
Jonathan Haines 1fd8ebf9b6
feat(eslint-config): enable linting with type information (#1098) 2025-04-07 19:31:09 +09:00
Jonathan Haines 4f9bb1dd8e
test: move tests to src directory (#1075)
* test(react-renderer): move tests to src directory

* test: move tests to src directory

* test: ensure vitest-pool-workers is installed at the root
2025-03-28 18:50:19 +09:00
Younis 708aa3510c
fix(swagger-ui): fix configuration bug (#988)
* fix(swagger-ui): Handle undefined options and improve rendering logic for non-RENDER_TYPE_MAP edge cases

* test(option-renderer): Add tests for filtering and handling invalid properties

* fix(swagger-ui): Handle undefined options and improve rendering logic

---------

Co-authored-by: Younis-Ahmed <23105954+jonaahmed@users.noreply.github.com>
2025-03-02 15:52:35 +09:00
Yusuke Wada 7a401b0850
chore: use the latest eslint and `@hono/eslint-config` (#904)
* chore: use the latest eslint and `@hono/eslint-config`

* update codes
2024-12-25 18:08:43 +09:00
rwv 934b3932c1
feat: customize html title for swagger-ui (#845)
* feat: customize html title for swagger-ui

* chore: add changeset
2024-11-26 08:21:30 +09:00
rwv 32abe11a4a
perf(swagger-ui): use jsdelivr instead of unpkg to serve swagger-ui assets (#701)
* perf: use jsdelivr instead of unpkg to serve swagger-ui assets

* format

* add changeset
2024-08-25 11:41:29 +09:00
naporitan 47be5c6956
feat(swagger-uri): Add Full Configuration Parameters and Update Dependencies (#618)
* chore(swagger-ui): update swagger-ui-dist types

* feat(swagger-ui): add swagger-ui parameters

* chore(swagger-ui): fix typeerror

add url parameter

* chore(swagger-ui): refactor test case

* chore: add versioning doc

* chore(swagger-ui): remove useUnsafeMarkdown

* chore(swagger-ui): add requestSnippetsEnabled

* chore(swagger-ui): syntaxHighlight: boolean

* chore(swagger-ui): fix propertykey

* chore(swagger-ui): format code

* chore(swagger-ui): add string function property commented
2024-07-10 10:20:52 +09:00
James Moger 414715b0d3
fix(swagger-ui): Add support for several more configuration options (#585)
fix #267
2024-06-20 06:07:43 +09:00
Yusuke Wada e8b494b207
chore: add lint rule and format (#367)
* chore: add lint rule and format

* fix ci

* add typescript

* yarn install

* add `@cloudflare/workers-types`
2024-01-29 22:53:43 +09:00
Sor4chi 5b17228c0b
fix: swaggerUI middleware option's required property (#329)
* feat: make swaggerUI middleware option optional

* chore: changeset
2023-12-29 21:49:35 +09:00
scarf 2e697077bf
fix(swagger-ui): support `persistAuthorization` and boolean option (#265)
* feat: `persistAuthorization`

Co-authored-by: Sor4chi <80559385+sor4chi@users.noreply.github.com>

* test: `persistAuthorization`

* chore: changeset

Co-authored-by: Sor4chi <80559385+sor4chi@users.noreply.github.com>

---------

Co-authored-by: Sor4chi <80559385+sor4chi@users.noreply.github.com>
2023-11-20 14:08:12 +09:00
Sor4chi c608fa9532
feat: swagger ui middleware (#230)
* feat(zod-openapi): create swagger-ui jsx component

* feat(zod-openapi): add swagger ui docs

* chore(zod-openapi): add versioning doc

* chore(zod-openapi): fix SwaggerUI component doc

* refactor(zod-openapi): remove jsx comment

* feat(swagger-ui): create new package

* feat(swagger-ui): provides swagger ui middleware and swaggerui component

* feat(zod-openapi): Changed to use @hono/swagger-ui

* chore: add versioning doc

* feat: update ci for @hono/swagger-ui

* refactor: remove package-lock.json

* refactor: reverted the extra changes.

* chore: remove old changeset doc

* refactor(swagger-ui): remove unused file

* refactor(swagger-ui): change input type

* feat(swagger-ui): Select only the options you need.

* chore(swagger-ui): update README

* refactor(swagger-ui): rewrite simple

* refactor(zod-openapi): remove swagger-ui

* chore(swagger-ui): fix readme content

* chore(dep): add @types/swagger-ui-dist for option types support

* feat: implement SwaggerConfig Renderer for mapping config object to html

* feat: extend some option support for swagger-ui-dist

* test: move option rendering test and add some cases

* feat: add manually option for making full customizable

* docs: update swagger-ui middleware README

* fix: do not escape HTML strings

* docs: update README of swagger-ui middleware

* ci: update workflow environment for swagger-ui middleware

---------

Co-authored-by: naporin0624 <naporin0624@gmail.com>
2023-11-04 18:18:20 +09:00