Stef Heyenrath
8865543bf1
some code refactorings for WireMock.Net.OpenApiParser
2021-11-21 10:07:27 +01:00
Stef Heyenrath
c333b8b263
1.4.27
2021-11-17 07:45:08 +00:00
Daniel L. Romero
32ddd48321
Support RequestBody ( #678 )
...
* Support RequestBody
* SerializeObject in the request matcher and apply JsonMatcher
* Refactor names
* Call to method TryGetContent
* Applied comments
* Changes applied!
* Comments applied V2!
2021-11-17 08:16:31 +01:00
Daniel L. Romero
260abf5275
Support enums in properties ( #681 )
...
* Support enums when a example is generated, priority is the enum
* Add null validation to Enum
* Refactor MapSchemaEnum
* Redactor merhod name
* Resolve merge conflict
* Check schema null
* Refactor GetRandom method
2021-11-16 20:38:34 +01:00
Daniel L. Romero
d3b2422ec1
Support examples in properties ( #680 )
...
* When the schema properti has an example then it uses the example
* Comments applied
2021-11-08 08:45:01 +01:00
Daniel L. Romero
49e10ed20f
Support basepath from servers ( #675 )
...
* Support basepath from servers
* Refactor BasePath
* Comments applied
2021-11-02 15:28:02 +01:00
Daniel L. Romero
c3ec3a66b3
Fix random generate data in url no spaces ( #676 )
...
* Fix random generate data in url no spaces
* Format class
2021-11-01 18:53:44 +01:00
Daniel L. Romero
77ee123340
Support examples random data generation ( #673 )
...
* Add Support Random Generation in Examples, this commit add the bool property DynamicExamples.
* Comments applied
* Remove '#pragma warning disable 1591'
2021-10-30 09:13:24 +02:00
Daniel L. Romero
ae2a05e86b
Improve method MapSchemaToObject to support array and object ( #670 )
2021-10-28 08:21:30 +02:00
Stef Heyenrath
a0e661fae9
Support Schema Example and Support AllOf in definitions ( #669 )
...
* Support an Example within a Schema
* Support AllOf in definitions
* Refactor MapSchemaAllOfToObject method and add test files
* Include schema examples
* Refactor duplicate code, create method MapPropertyAsJObject
* Remove commented code
* Merge from master + update WireMock.Net.OpenApiParser.ConsoleApp
Co-authored-by: Daniel <raiga1234@gmail.com >
2021-10-27 09:40:12 +02:00
Daniel L. Romero
74edad517b
Support Array in OpenApi Examples ( #664 )
2021-10-21 22:12:59 +02:00
Daniel L. Romero
a2a581c84b
Refactor method name MapHeaders and httpStatusCode ( #649 )
...
* Support edge case: first object, next an array.
* Add mapping to header parameters.
* Refactor the method MapHeadersParameters to MapHeaders
* Refactor method name 'cause is duplicate, only pass httpStatusCode when fail
2021-10-10 19:22:28 +02:00
Daniel L. Romero
267f0b7b6d
Mapping headers in OpenAPI ( #644 )
...
* Support edge case: first object, next an array.
* Add mapping to header parameters.
* Refactor the method MapHeadersParameters to MapHeaders
2021-10-07 19:15:26 +02:00
Daniel L. Romero
34083d826e
Support edge case: first object, next an array. ( #643 )
2021-10-06 17:18:46 +02:00
Stef Heyenrath
d91b5d5831
Add possibility to use settings to generate MappingModel models with wildcard path parameters. ( #609 )
...
* Add optional settings for WithMappingFromOpenApi
* .
* .
* cleanup
2021-04-26 14:44:45 +02:00
Stef Heyenrath
45713eb0d9
Create dotnet-wiremock tool ( #542 )
...
* dotnet tool
* .
* c
* x
* ### As a dotnet tool
* help
* v
2020-11-25 15:36:01 +01:00
Stef Heyenrath
5f8bdff936
1.3.1
2020-09-30 18:18:33 +02:00
Stef Heyenrath
55cf0f0416
Fix vulnerability in NuGet dependencies ( #508 )
...
* .
* .
* test
* Microsoft.AspNetCore.Server.IIS
2020-09-29 14:16:01 +02:00
Stef Heyenrath
9491280fd2
1.2.15
2020-07-19 10:11:12 +02:00
Stef Heyenrath
d8c708e97c
WireMock.Net.OpenApiParser : version
2020-07-01 07:59:36 +00:00
Stef Heyenrath
e2fbfda3f0
An OpenApi (swagger) parser to generate MappingModel or mapping.json file ( #479 )
...
* wip
* .
* .
* nuget
* .
* .
* WithMappingModel
* tests
* json
* codefactor
* sign
* .
* interface
* sln
* comments
2020-07-01 09:57:52 +02:00