Commit Graph

5824 Commits

Author SHA1 Message Date
Vladimír Gorej
b593c50c7c feat(samples): add support for merging type keyword (#8916)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-12 14:35:06 +02:00
swagger-bot
a4f544ba6d chore(release): cut the v5.0.0-beta.0 release 2023-06-11 19:39:30 +00:00
Vladimir Gorej
474aedd49b Merge branch 'master' into next 2023-06-11 21:16:18 +02:00
yue
cdd0bddc16 fix: export standalone preset from the npm package (#8906)
Refs #8163
2023-06-11 21:14:40 +02:00
Vladimír Gorej
0113b3f224 chore(release): prepare configuration for switching to beta channel (#8914)
Refs #8684
2023-06-11 21:03:50 +02:00
Vladimír Gorej
12c7493018 fix(json-schema-2020-12): custom OAS 3.1 formats in type inferrence (#8912) 2023-06-11 19:55:19 +02:00
Vladimír Gorej
fd18aaa09c refactor(samples): do the general code cleanup (#8911)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-11 19:27:59 +02:00
Vladimír Gorej
7bf0dd921b feat(samples): add support for proper schema merging (#8910)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-11 15:35:05 +02:00
Vladimír Gorej
ce417d59d2 feat(samples): add support for inferring schema type (#8909)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-11 13:14:44 +02:00
Vladimír Gorej
4b0b28518e feat(examples): add support for examples keyword (#8908)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-10 17:08:24 +02:00
Vladimír Gorej
6c622a87e7 feat(samples): add support for contentSchema keyword (#8907)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-09 21:35:44 +02:00
Vladimír Gorej
d72b72c5c6 feat(samples): add support for custom formats, encoders and media types (#8905)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-09 15:34:39 +02:00
Vladimír Gorej
1925622113 feat(samples): add support for contentMediaType keyword (#8903)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-09 11:37:11 +02:00
Vladimír Gorej
5cf9276b65 refactor(samples): extract number and string constrains applicators (#8900)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-08 18:53:25 +02:00
Vladimír Gorej
04839642fb feat(samples): add support for contentEncoding keyword (#8899)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-08 18:35:03 +02:00
Vladimír Gorej
220150eb30 refactor(samples): type check object constraints acording to spec (#8898)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-08 14:48:16 +02:00
Vladimír Gorej
521a40adf0 refactor(samples): type check string constrains according to spec (#8897)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-08 14:34:24 +02:00
Vladimír Gorej
6549eff278 feat(samples): add support for contains, minContains, maxContains keywords (#8896)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-08 14:06:22 +02:00
Vladimír Gorej
1114965782 feat(samples): add support for uniqueItems keyword (#8893)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-07 14:21:04 +02:00
Vladimír Gorej
8a914926b3 feat(samples): add support for regex string format (#8891)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-07 12:39:04 +02:00
Vladimir Gorej
c529c9e0c3 refactor(samples): simplify string related constraints
Refs #8577
2023-06-07 12:13:24 +02:00
Vladimír Gorej
68cfe46490 feat(samples): support multipleOf keyword (#8890)
This change is specific ti JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-07 11:48:10 +02:00
Vladimír Gorej
3e81a4f897 chore(deps-dev): update cypress to v12 (#8889)
This update required changing the configuration
and test directory structure. Some tests needed
to be amended as well to compensate for new
Cypress APIs.
2023-06-07 10:25:32 +02:00
Vladimír Gorej
f30d89af1b fix(oas31): fix rendering of Schema Object inside Operation Object (#8887) 2023-06-06 15:09:06 +02:00
Vladimír Gorej
f2b0d4af41 refactor(samples): add better support for exclusive number ranges (#8886)
This change is specific ot  JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-06 15:02:15 +02:00
Vladimír Gorej
836659d8ac feat(samples): support new semantics of exclusive number ranges (#8885)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-06 13:49:02 +02:00
Vladimír Gorej
bdad2fe83d feat(samples): add support for const keyword (#8884)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-06 11:09:10 +02:00
Vladimír Gorej
3587696d73 feat(samples): add support for type keyword defined as list of types (#8883)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-06 10:54:08 +02:00
Vladimír Gorej
28b12338f8 feat(samples): add support for new values of format keyword (#8882)
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
2023-06-05 15:12:50 +02:00
swagger-bot
53096abd0f chore(release): cut the v5.0.0-alpha.15 release 2023-06-05 09:21:06 +00:00
Vladimír Gorej
1f7bb89217 refactor(docker): use templating to handle env variables (#8878)
Refs #8877
2023-06-02 16:05:08 +02:00
Vladimír Gorej
75c78b0293 ci(docker): add support for repository_dispatch event type (#8876)
This will allow to trigger workflow from Jenkins.

Refs #8875
2023-06-02 13:10:16 +02:00
Vladimír Gorej
49da686946 ci(docker): provide better descriptions
Refs #8873
2023-06-02 12:51:12 +02:00
Vladimír Gorej
ad405d0cd1 ci(docker): distinguish docker_ref and git_ref inputs (#8874)
Refs #8873
2023-06-02 12:44:22 +02:00
Vladimír Gorej
56838ede26 ci(docker): set provenance=false when building image
This should avoid issue described in https://github.com/docker/build-push-action/issues/820.

Refs #5815
2023-06-01 18:10:11 +02:00
Vladimír Gorej
f73b38b0ba ci(docker): add initial workflow for creating multi platform Docker images (#8732)
Refs #5815
2023-06-01 17:46:32 +02:00
Vladimir Gorej
b017858fe1 refactor(oas31): use system.fn as source of truth for Model wrapper
Refs #8577
2023-06-01 14:09:02 +02:00
Vladimír Gorej
df9aadf971 feat(oas31): enable overrides for samples plugin (#8731)
These overrides are specific to OpenAPI 3.1.0
and JSON Schema 2020-12.

Refs #8577
2023-06-01 14:09:02 +02:00
Vladimir Gorej
2ce9d08af7 test: align tests with sample plugin changes
Refs #8577
2023-06-01 14:09:02 +02:00
Vladimír Gorej
1ce9ce0cda refactor: use samples plugin to generate schemas examples (#8728)
Refs #8577
2023-06-01 14:09:02 +02:00
Vladimír Gorej
027f53c302 refactor(samples): move example generation code to samples plugin (#8727)
Refs #8577
2023-06-01 14:09:02 +02:00
Vladimir Gorej
ac3b69fb3c feat: introduce samples framework for JSON Schema 2020-12
Refs #8577
2023-06-01 14:09:02 +02:00
dependabot[bot]
021a1d495c chore(deps-dev): bump @commitlint/cli from 17.6.1 to 17.6.5 (#8725) 2023-05-30 12:07:23 +00:00
dependabot[bot]
3953fa1605 chore(deps-dev): bump sinon from 15.0.4 to 15.1.0 (#8722) 2023-05-29 12:05:34 +00:00
dependabot[bot]
3aac5d875c chore(deps-dev): bump eslint from 8.37.0 to 8.41.0 (#8719) 2023-05-26 12:28:41 +00:00
dependabot[bot]
b1745c1077 chore(deps-dev): bump @wojtekmaj/enzyme-adapter-react-17 (#8718) 2023-05-26 12:22:58 +00:00
dependabot[bot]
92f002f369 chore(deps-dev): bump webpack-dev-server from 4.11.1 to 4.15.0 (#8717) 2023-05-26 12:04:33 +00:00
dependabot[bot]
bbe874dc6c chore(deps-dev): bump rimraf from 5.0.0 to 5.0.1 (#8714) 2023-05-25 12:10:44 +00:00
dependabot[bot]
9a5e6096fe chore(deps-dev): bump json-merger from 1.1.9 to 1.1.10 (#8715) 2023-05-25 12:03:43 +00:00
swagger-bot
3059a63a0a chore(release): cut the v5.0.0-alpha.14 release 2023-05-25 11:21:23 +00:00