Tommi Reiman
499f84be21
fix warning
2023-05-27 18:08:39 +03:00
Tommi Reiman
77e2b567e6
Merge pull request #626 from metosin/power-merge-schemas
...
Introduce two-phase Schema compilation
2023-05-23 12:10:49 +03:00
Tommi Reiman
9f58bb22e3
kill ctrl
2023-05-22 20:28:20 +03:00
Tommi Reiman
3e6c3f589f
review comments
2023-05-22 20:23:47 +03:00
Tommi Reiman
9ac713f0e5
doesn't work properly with spec
2023-05-22 09:16:57 +03:00
Tommi Reiman
ce06214014
welcome 2-phase schema compilation
...
1) use `:update-paths` to handle data in certain (loose) paths differently
- accumulate schemas in all relevant routers into vector
- we do not know the coercion here (ring/http have special handling of data, e.g. http-methods)
2) run coercion compiler for the model to merge the effective model
- schema + malli = should work ok, spec = best effort
3) publish final schemas into compiled route data
2023-05-21 20:32:40 +03:00
Tommi Reiman
3f265888a4
cleanup
2023-05-21 20:16:45 +03:00
Tommi Reiman
550ea6da58
path-update
2023-05-21 20:13:43 +03:00
Tommi Reiman
4d0e40f135
ctrl.* is such test
2023-05-21 18:15:44 +03:00
Tommi Reiman
d45dd151b7
document meta-merge
2023-05-21 18:11:42 +03:00
Tommi Reiman
1827c1294b
update deps
2023-05-21 15:58:59 +03:00
Tommi Reiman
b3383b0396
0.7.3-alpha4
2023-05-17 18:23:05 +03:00
Joel Kaasinen
2e555a1453
Merge pull request #625 from metosin/openapi-descriptions
...
new schema-tools version fixes #612 for spec
2023-05-17 17:59:20 +03:00
Joel Kaasinen
86af5d8724
doc: CHANGELOG.md
2023-05-17 16:09:27 +03:00
Joel Kaasinen
1983a4bb64
test: openapi parameter descriptions via schema
2023-05-17 16:06:45 +03:00
Joel Kaasinen
45f9f0f21e
deps: upgrade schema-tools
2023-05-17 16:06:45 +03:00
Joel Kaasinen
6b378ffbf5
Merge pull request #624 from metosin/openapi-descriptions-malli
...
fix: openapi malli parameter descriptions
2023-05-17 12:24:28 +03:00
Joel Kaasinen
c443adbfca
test: openapi parameter descriptions via spec
2023-05-17 08:25:44 +03:00
Joel Kaasinen
b56c15b64c
fix: openapi malli parameter descriptions
...
... should come from the parameter type, not from the parent :map
2023-05-17 08:19:44 +03:00
Joel Kaasinen
2e8e9265d9
test: document current openapi3 description behaviour
...
malli works weirdly, others don't
2023-05-17 08:19:26 +03:00
Joel Kaasinen
4ac973ba31
Merge pull request #623 from metosin/doc-openapi
...
doc: openapi.md: annotating schemas
2023-05-17 07:57:32 +03:00
Joel Kaasinen
88d7caf013
doc: use alpha ring-swagger-ui in ring-spec-swagger
...
to support openapi 3
2023-05-16 17:02:25 +03:00
Joel Kaasinen
ed1230d1cf
doc: openapi.md: annotating schemas
2023-05-16 17:02:06 +03:00
Wes Morgan
59812a350f
Update malli swagger test expectations for definitions
...
...which should only be at the top level now.
2023-05-09 10:33:54 -06:00
Juho Teperi
0b6ed62738
Release 0.7.0-alpha3
2023-05-05 12:57:31 +03:00
Juho Teperi
5adc5ffba0
Compile reitit.Trie with Java 1.8 target
2023-05-05 12:56:02 +03:00
Juho Teperi
e1f9cfb286
Fix versions
2023-05-05 11:18:38 +03:00
Juho Teperi
e204d4ff1b
Release 0.7.0-alpha2
2023-05-04 15:20:31 +03:00
Juho Teperi
9f6565f097
Merge pull request #604 from metosin/fix-377-fragment-strings
...
Fix #377 , navigate to routes with fragment string in frontend
2023-05-04 15:12:41 +03:00
Juho Teperi
b9f189b3f7
Fix Html5History missing fragment on initial load
2023-05-04 15:05:27 +03:00
Joel Kaasinen
526bac39c2
Merge pull request #618 from metosin/openapi-examples
...
more openapi examples, remove redundant ring-swagger example
2023-05-03 17:28:06 +03:00
Joel Kaasinen
253f379fd0
doc: use examples/ring-{malli,spec}-swagger in doc/ring/openapi.md
2023-05-03 17:17:25 +03:00
Joel Kaasinen
f14808b8a3
doc: update examples/ring-spec-swagger to include OpenAPI 3
2023-05-03 17:17:25 +03:00
Joel Kaasinen
28e9cc01e5
doc: update examples/ring-malli-swagger
2023-05-03 17:17:25 +03:00
Joel Kaasinen
bafc9b757f
doc: remove examples/ring-swagger
...
... it's the same as ring-spec-swagger. Let's keep the pair
ring-spec-swagger and ring-malli-swagger.
2023-05-03 17:17:22 +03:00
Joel Kaasinen
bcbdd05a6f
Merge pull request #617 from metosin/openapi-docs
...
doc: mention reitit-openapi in cljdoc
2023-05-03 17:12:47 +03:00
Joel Kaasinen
8db7598141
doc: mention reitit-openapi in cljdoc
2023-05-03 16:40:49 +03:00
Tommi Reiman
f015b6669a
fi
2023-05-03 15:41:11 +03:00
Tommi Reiman
3336880b01
0.7.0-alpha1
2023-05-03 10:25:01 +03:00
Joel Kaasinen
a3ab5714cb
CHANGELOG
2023-05-02 14:55:19 +03:00
Nimit Maru
24669cf58f
Update README.md
...
ring router link bugfix
2023-05-01 17:46:34 -04:00
Wes Morgan
937768651e
Add malli swagger test w/ definitions
2023-04-20 12:39:08 -06:00
Joel Kaasinen
6d9d7a09b0
Merge pull request #610 from metosin/openapi-examples
...
document & test OpenAPI multiple examples
2023-04-19 11:09:03 +03:00
Joel Kaasinen
be0d066f5d
doc: document OpenAPI3 multiple examples
2023-04-19 11:03:15 +03:00
Joel Kaasinen
5227e65029
doc: OpenAPI3 named examples in examples/http-swagger
2023-04-19 10:56:22 +03:00
Joel Kaasinen
ca9852a318
test: multiple named openapi examples
2023-04-19 10:49:23 +03:00
Joel Kaasinen
75ebeaf6cd
test: test openapi examples support for malli, schema, spec
2023-04-18 15:04:14 +03:00
Wes Morgan
182524baac
Update swagger test expectations for latest malli changes
2023-04-17 11:35:28 -06:00
Wes Morgan
f237b0942e
Merge branch 'master' into fix/malli-swagger-defs
2023-04-17 09:44:36 -06:00
Joel Kaasinen
0c643409a6
Merge pull request #608 from metosin/openapi-recursive
...
openapi3 (mutual) recursion support
2023-04-17 09:15:33 +03:00