Contributions
Re: oneOf always rendered in the bottom of an object
HenrikHLThank you for your question. SwaggerUI renders the schema models based on a predefined list of model types, and it is happenstance that "oneOf" is last to get parsed and rendered. There is no intentional ordering of "priorities" per se. So in this case, a schema model of a (default) "property" will get rendered first, followed by "allOf", then "oneOf".790Views0likes0CommentsRe: Add custom css to markdown table
In order to apply custom css, I believe you would need to build your own version of SwaggerUI, then implement new css rules. You could also build a plugin to replace the component that you would like to change. The plugin would supercede the SwaggerUI version. I would recommend using SwaggerUI's plugin system rather than make changes to SwaggerUI itself, as it would be easier to stay updated with new releases. For more information, here is some documentation on customization:https://swagger.io/docs/open-source-tools/swagger-ui/customization/overview/2.2KViews2likes0CommentsRe: Swagger-client - Recommended usage/creation of SwaggerClient
Depending on how you need to use SwaggerClient, you may not need to instantiate a new instance of SwaggerClient. Instead, you can import SwaggerClient, then directly access SwaggerClient methods. You can find some examples here:https://github.com/swagger-api/swagger-js/tree/master/docs/usage972Views1like0Comments