Commit Graph

5789 Commits

Author SHA1 Message Date
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
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
swagger-bot
3059a63a0a chore(release): cut the v5.0.0-alpha.14 release 2023-05-25 11:21:23 +00:00
Vladimir Gorej
a0368be937 Merge branch 'master' into next 2023-05-25 12:58:28 +02:00
Vladimír Gorej
4f2fb10eb5 chore(docker): update Dockerfile base image to nginx:1.25.0-alpine (#8712)
Refs #8697
2023-05-25 12:53:24 +02:00
Vladimir Gorej
b9c6c6f9d3 Merge branch 'master' into next 2023-05-24 15:51:42 +02:00
Vladimír Gorej
4ad45f855d fix(oas31): avoid capitalizing first character of components.schemas (#8710)
Refs #8611
2023-05-24 15:43:08 +02:00
swagger-bot
f01969138d chore(release): cut the v4.19.0 release 2023-05-24 13:22:49 +00:00
dependabot[bot]
315114185c chore(deps-dev): bump css-loader from 6.7.3 to 6.7.4 (#8707)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.3 to 6.7.4.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.7.3...v6.7.4)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 14:33:12 +02:00
Vladimír Gorej
cf1430cc94 chore(deps): bump swagger-client to v3.19.8 (#8709)
Refs https://github.com/swagger-api/swagger-js/releases/tag/v3.19.8
2023-05-24 14:26:28 +02:00
dependabot[bot]
20af5df30e chore(deps-dev): bump mini-css-extract-plugin from 2.7.5 to 2.7.6 (#8708)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.7.5 to 2.7.6.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.7.5...v2.7.6)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 14:21:08 +02:00
dependabot[bot]
71dbcbdf59 chore(deps-dev): bump jest-environment-jsdom from 29.4.3 to 29.5.0 (#8706) 2023-05-24 12:14:24 +00:00
Vladimír Gorej
c8f25002e1 chore(deps-dev): bump sass-loader from 12.6.0 to 13.3.0 (#8705)
Closes #8690
2023-05-24 12:59:42 +02:00
dependabot[bot]
34df806527 chore(deps-dev): bump @babel/preset-react from 7.14.5 to 7.18.6 (#8678)
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.14.5 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-preset-react)

---
updated-dependencies:
- dependency-name: "@babel/preset-react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 12:33:14 +02:00
Martin Eigenmann
51385fe14f docs(swagger-ui-react): hint on usage with Next.js (#8696)
Co-authored-by: Vladimír Gorej <vladimir.gorej@gmail.com>

Refs #7970
Refs #8245
2023-05-24 12:26:41 +02:00
Ben Konicek
da48ea14b5 chore(docker): update Dockerfile base image to nginx:1.24.0-alpine (#8697)
This update fixes following CVEs:
  - CVE-2023-29469
  - CVE-2023-28484⁠
2023-05-24 12:11:01 +02:00
Vladimír Gorej
1931b45eb0 fix(json-schema-2020-12): fix predicate in hasKeyword function (#8692)
Refs #8686
2023-05-22 15:14:39 +02:00
Vladimír Gorej
58b460d1fc fix(oas3): fix deep linking for Callbacks (#8691)
Refs #8556
2023-05-22 14:55:06 +02:00
Vladimír Gorej
7ac9a8f070 feat(auth): persist cookie based apiKey in document.cookie (#8689)
Refs #8683
2023-05-22 14:46:30 +02:00
swagger-bot
98e7beb14a chore(release): cut the v5.0.0-alpha.13 release 2023-05-16 13:32:53 +00:00
Vladimir Gorej
0a59fa7ef1 Merge branch 'master' into next 2023-05-16 15:16:37 +02:00
Vladimír Gorej
872e382c5f fix(oas31): fix deep linking for Webhooks and Callbacks (#8680)
Refs #8679
2023-05-16 14:57:00 +02:00
dependabot[bot]
26709c3ea6 chore(deps-dev): bump cssnano from 6.0.0 to 6.0.1 (#8677) 2023-05-16 12:04:32 +00:00
Vladimír Gorej
75b41e09ff feat(oas31): add support for includeReadOnly/WriteOnly options (#8675)
Refs #8513
2023-05-16 13:53:08 +02:00
Vladimír Gorej
67132cc726 fix(json-schema-2020-12): fix rendering of items keywords (#8674)
As JSON Schema 2020-12 can be represented as
a Boolean Schema, different keyword detection
needs to be used.

Refs #8513
2023-05-16 12:45:34 +02:00
Vladimír Gorej
2f0282d063 feat(oas31): render JSON Schema 2020-12 in Operations and Webhooks (#8673)
Includes Callback Objects as well.

Refs #8513
2023-05-16 10:39:00 +02:00
dependabot[bot]
81b4469986 chore(deps): bump vm2 from 3.9.17 to 3.9.18 (#8672) 2023-05-15 21:35:38 +00:00
Vladimír Gorej
79e0c4e096 feat(oas31): prepare to render JSON Schema 2020-12 in Operations and Webhooks (#8670)
Refs #8513
2023-05-15 14:20:59 +02:00
dependabot[bot]
bce018e1a2 chore(deps-dev): bump html-webpack-plugin from 5.5.0 to 5.5.1 (#8669) 2023-05-15 12:16:44 +00:00
dependabot[bot]
35a41f066f chore(deps-dev): bump webpack from 5.82.0 to 5.82.1 (#8668) 2023-05-15 12:05:40 +00:00
Vladimír Gorej
bd406eeaaf fix(oas31): fix expansion margin in OpenAPI 3.1 base dialect keywords (#8664)
Refs #8513
2023-05-12 16:28:44 +02:00
dependabot[bot]
1e3cdc9dc4 chore(deps-dev): bump postcss-loader from 7.2.4 to 7.3.0 (#8662) 2023-05-12 12:21:46 +00:00
dependabot[bot]
703cbcb50b chore(deps-dev): bump prettier from 2.8.7 to 2.8.8 (#8663) 2023-05-12 12:12:17 +00:00
dependabot[bot]
df40316fb5 chore(deps-dev): bump mini-css-extract-plugin from 2.7.2 to 2.7.5 (#8661) 2023-05-12 12:05:00 +00:00
swagger-bot
e75f05fb52 chore(release): cut the v5.0.0-alpha.12 release 2023-05-12 11:16:03 +00:00
Vladimír Gorej
36148cbb50 fix(oas31): fix extendable behavior in OpenAPI 3.1 base dialect keywords (#8660)
This change is related to JSON Schema 2020-12.

Refs #8513
2023-05-12 13:01:31 +02:00
Vladimír Gorej
01d2376b5f feat(oas31): add support for Schema Object externalDocs keyword (#8659)
Refs #8513
2023-05-11 17:50:17 +02:00
Vladimír Gorej
11bb4f9b30 feat(oas31): add support for Schema Object discriminator keyword (#8658)
Refs #8513
2023-05-11 17:20:23 +02:00