- When using generate clients in Visual Studio, baseUrls should have a trailing ‘/’ especially those with a path at the end otherwise, the generate client only uses the domain name up till the domain suffix.
- JSON to JSON Schema (transform.tools) – useful tool for quickly converting a json object to schema
- most common options for generated clients Options=”/UseBaseUrl:false /GenerateClientInterfaces:true /GenerateExceptionClasses:false /AdditionalNamespaceUsages: yourNameSpace.exceptions /excludedParameterNames:xxxx
- Generated Code plays nicer with swagger 2.0 than open api 3. π
Leave a comment