2 ms·
You can use something like OpenAPI to get code generation for REST, but yes you have to write an OpenAPI spec for your API in YAML... Not a fan of XML, but I t
by tored 5y ago
You can use something like OpenAPI to get code generation for REST, but yes you have to write an OpenAPI spec for your API in YAML...
Not a fan of XML, but I think XML Schema is one of the better Schema solutions I have used. If you doing something with XML and not take advantage of XML Schema it seems like a waste.
XML for markup is okay, but usually I just use a subset of HTML5 when doing that, XML would have the benefit of having XML Schema support for validation, but I have class that can do that for me with HTML5.