mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
Question regarding raml structure #379
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mcheguini on GitHub (Oct 27, 2021).
Hello Stef,
I would like to say thank you for this amazing framework, and your support (:
I am trying to use raml file in WireMock and I am not able to use some capabilities inside the WireMock.NET
I understand you implemented “RamlToOpenApiConverter. and “ConvertToOpenApiDocument” is used to convert raml to OpenAPI
I tried to use “ConvertToOpenApiDocument” and “ConvertToFile” for following example code (it is attached for your kind review)
regarding the mentioned fact, is it possible to use following capabilities in WireMock.NET?
I was able to use the following json schema as example in raml file, but the problem is each example should be placed in separate .json file (there are a lot of .json example files).
Example: |
{
Some json data
}
Could you please help me to solve previously mentioned inquiries specially with "example: !include examplefile.json"
Also I found, having nested !include will cause an error, for example
in Parent.raml
In mentioned "items: !include child.raml" will cause an error
@StefH commented on GitHub (Oct 29, 2021):
https://github.com/StefH/RamlToOpenApiConverter/issues/8