I'm running into this generated snippet from the v4 code model:
protocol: !<!Protocols>
http: !<!HttpResponse>
statusCodes:
- '200'
This is tagged as HttpResponse, and the definition of this schema in the code model says that both mediaTypes and knownMediaTypes are required. My understanding is that these properties should not be required in this scenario, and thus the code model is in error.
cc @sacheu @lmazuel
perks/codemodel/.resources/all-in-one/json/code-model.json
Line 2999 in 793ed86
I'm running into this generated snippet from the v4 code model:
This is tagged as
HttpResponse, and the definition of this schema in the code model says that bothmediaTypesandknownMediaTypesare required. My understanding is that these properties should not be required in this scenario, and thus the code model is in error.cc @sacheu @lmazuel