Simplified Swagger class, moved settings to the options parameter.