Граф коммитов

4048 Коммитов

Автор SHA1 Сообщение Дата
Maggie Kimani 766f217d1e
Merge pull request #1907 from microsoft/mk/bump-up-hidi
Bump hidi version
2024-11-07 09:30:51 +03:00
Maggiekimani1 e9ab4412e7 Update comment 2024-11-06 20:47:31 +03:00
Maggiekimani1 0c913273dc Bump hidi version 2024-11-06 20:45:14 +03:00
Maggie Kimani 7f4f935606
Merge pull request #1904 from microsoft/release/2.0.0
V2.0-preview1 release
2024-11-05 14:30:18 +03:00
Maggie Kimani 5bbb344730
Merge pull request #1903 from microsoft/mk/sync-vnext-changes
Sync latest vnext changes
2024-11-04 14:42:12 +03:00
Maggiekimani1 b490348700 update file path to moved file 2024-11-04 12:14:32 +03:00
Maggiekimani1 3c597ea62e Merge branch 'vnext' into mk/sync-vnext-changes 2024-11-04 12:05:06 +03:00
Maggie Kimani bf4a9eaada
Merge pull request #1897 from microsoft/mk/define-json-schema-type-as-enum
Define JSON schema's Type property as a flaggable enum to allow storing multiple values
2024-10-31 14:18:37 +03:00
Andrew Omondi 46b18cd594
Merge pull request #1900 from microsoft/dependabot/nuget/Verify.Xunit-28.0.0
chore(deps): bump Verify.Xunit from 27.1.0 to 28.0.0
2024-10-31 10:26:50 +03:00
dependabot[bot] 6d34a775ee
chore(deps): bump Verify.Xunit from 27.1.0 to 28.0.0
Bumps [Verify.Xunit](https://github.com/VerifyTests/Verify) from 27.1.0 to 28.0.0.
- [Release notes](https://github.com/VerifyTests/Verify/releases)
- [Commits](https://github.com/VerifyTests/Verify/compare/27.1.0...28.0.0)

---
updated-dependencies:
- dependency-name: Verify.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 21:48:11 +00:00
Maggiekimani1 5eb0010503 Add null check 2024-10-30 18:36:55 +03:00
Maggiekimani1 b8063234a3 Clean up tests 2024-10-30 18:18:52 +03:00
Maggiekimani1 38954dce7d Add null check for type; simplify condition to verify flag has been set 2024-10-30 18:18:34 +03:00
Maggiekimani1 3abe36c3d7 Convert the JsonSchemaType helper methods to extensions 2024-10-30 18:17:39 +03:00
Maggie Kimani 07987aeb64
Update src/Microsoft.OpenApi/Models/OpenApiSchema.cs
Co-authored-by: Andrew Omondi <andrueastman@users.noreply.github.com>
2024-10-30 17:24:31 +03:00
Maggiekimani1 656259a8d6 Fix failing tests 2024-10-30 12:33:23 +03:00
Maggiekimani1 2e2ad57dd3 Fix string formatting 2024-10-30 12:26:08 +03:00
Maggiekimani1 e13fb0144e throw OpenApiException for it to be caught gracefully and appended to diagnostics 2024-10-30 12:14:52 +03:00
Maggiekimani1 e12301cb69 Add test for sample document with 3.1 features 2024-10-30 11:31:33 +03:00
Maggiekimani1 5af79d4b55 Add condition to check whether the flag matches the type before appending it to a list; write string values 2024-10-30 11:15:06 +03:00
Maggiekimani1 56c47cb374 Remove JsonSchemaType.Any type 2024-10-29 17:05:04 +03:00
Maggiekimani1 924ff0d400 Merge remote-tracking branch 'origin/release/2.0.0' into mk/define-json-schema-type-as-enum 2024-10-29 16:51:24 +03:00
Maggie Kimani 34b81cead8
Merge pull request #1888 from microsoft/mk/remove-validation-rule
Remove DataTypeMismatch validation rule from the default ruleset
2024-10-29 16:31:51 +03:00
Maggie Kimani 6987f7b1a7
Merge pull request #1899 from microsoft/mk/remove-recursive-keywords
OpenApiSchema refactor to remove recursive keywords
2024-10-29 16:31:29 +03:00
Maggiekimani1 f45de4c41f Add test to validate parsing of 3.1 JSON schema keywords and update public API 2024-10-29 14:45:20 +03:00
Maggiekimani1 e1feafe276 Clean up V31 serialization logic to write out 3.1 keywords correctly 2024-10-29 14:44:25 +03:00
Maggiekimani1 aa3895f9de Refactor vocabulary object to represent a dictionary; implement serialization and deserialization 2024-10-29 14:43:41 +03:00
Maggiekimani1 3178fc3bbf Remove keywords from the proxy class and update public API 2024-10-29 13:29:23 +03:00
Maggiekimani1 1825825284 Remove recursive Ref and recursive anchor keywords as they are not supported in the latest JSON schema draft 2024-10-29 13:23:02 +03:00
Maggiekimani1 b2e1026ba2 code cleanup 2024-10-29 13:01:49 +03:00
Maggiekimani1 314880d8fc Fix failing tests 2024-10-29 12:17:55 +03:00
Irvine Sunday fc493878b1
Merge pull request #1896 from microsoft/is/bump-libs
Bump up hidi and conversion lib versions
2024-10-28 21:07:08 +03:00
Maggiekimani1 42614bee78 Resolve merge conflicts 2024-10-28 20:50:31 +03:00
Maggiekimani1 d0fb2c7b75 Update API interface 2024-10-28 20:37:40 +03:00
Maggiekimani1 2e03505627 Refactor tests to reflect change 2024-10-28 20:37:28 +03:00
Maggiekimani1 8c9047f2a0 Implement helper methods for switching between enum types and their equivalent identifiers 2024-10-28 20:36:39 +03:00
Maggiekimani1 79f3e9464a Define JSON schema type as a flaggable enum to allow storing strings or array of strings 2024-10-28 20:34:08 +03:00
Maggie Kimani 5c35c7b6c0
Merge pull request #1890 from microsoft/mk/update-workbench-to-parse-31-docs
Update workbench tool to parse 3.1 and YAML docs
2024-10-28 17:12:02 +03:00
Irvine Sunday d31b040c42
Bump up hidi and yoko lib versions 2024-10-28 16:12:43 +03:00
Andrew Omondi 68e7dea068
Merge pull request #1895 from microsoft/dependabot/nuget/Verify.Xunit-27.1.0
chore(deps): bump Verify.Xunit from 27.0.1 to 27.1.0
2024-10-28 09:14:36 +03:00
dependabot[bot] b40ab66b81
chore(deps): bump Verify.Xunit from 27.0.1 to 27.1.0
Bumps [Verify.Xunit](https://github.com/VerifyTests/Verify) from 27.0.1 to 27.1.0.
- [Release notes](https://github.com/VerifyTests/Verify/releases)
- [Commits](https://github.com/VerifyTests/Verify/compare/27.0.1...27.1.0)

---
updated-dependencies:
- dependency-name: Verify.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-25 21:29:47 +00:00
Vincent Biret e85a4f1618
Merge pull request #1892 from microsoft/docs/mapping-doc-comment-fix
docs: fixes doc comments to align with changes made in #1883
2024-10-25 02:30:06 -04:00
Vincent Biret ab0ecf9103
Merge pull request #1893 from microsoft/merge/vnext-to-release2
merge/vnext to release2
2024-10-24 13:11:48 -04:00
Vincent Biret fe13c562a8
fix: adds missing type mappings tests 2024-10-24 13:11:13 -04:00
Vincent Biret 1e6e65407a
Merge branch 'vnext' into merge/vnext-to-release2
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2024-10-24 12:53:06 -04:00
Vincent Biret d71e371694
docs: fixes doc comments to align with changes made in #1883
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2024-10-24 12:46:31 -04:00
Maggiekimani1 a478bd232d Use Where for sequence filtering 2024-10-24 15:57:27 +03:00
Maggie Kimani f2fb6cce83
Merge pull request #1886 from WeihanLi/patch-1
use nameof for CallerArgumentExpression
2024-10-24 15:46:46 +03:00
Maggiekimani1 ae0c5a0618 Add test case for opting into using the data mismatch validation rule 2024-10-24 15:46:24 +03:00
Maggiekimani1 2d8640a76c code cleanup 2024-10-24 12:51:10 +03:00