Questions tagged [openapi.net]

19 questions
0
votes
1 answer

How do I mount zap/wrk directory for ZAP API Scan on Windows

I am trying to run a ZAP API scan against an API but when I run the command below I get error "Invalid option v : option -v not recognized" : docker run -t owasp/zap2docker-weekly zap-api-scan.py -t…
Golide
  • 835
  • 3
  • 13
  • 36
0
votes
1 answer

Is it possible to generate example JSON from OpenApiSchema

I would like to generate the JSON example from OpenApiSchema. Is there any existing function or any ideas?
balaji
  • 1,236
  • 2
  • 18
  • 28
0
votes
1 answer

openapi-generator -l typescript-angular not working

I am issues while generating angular code run using the openapi-generator for language typescript-angular any idea how to fix it? I even tried openapi-generator help meta -l is a valid option, not sure why I am getting the below error when I run the…
Roshan
  • 139
  • 1
  • 4
  • 9
0
votes
1 answer

How to parse extensions of yaml in OpenApi.NET into .NET classes?

I need to write ExtensionParsers for OpenApi.NET, so that when I parse a yaml document, the extension properties (properties named x-something) are parsed into the corresponding C# classes that I wrote instead of being parsed generally into…
user9514066
  • 119
  • 1
  • 11
1
2