Bug fixed: If the resource designated as the auth model is declared after a resource that depends on it in the main raml file, then config.registry.auth_model is not properly populated and the server will crash on startup.
Fix: Added an additional check when the model already exists to see if the model is designated as the auth model.
Bug fixed: If the resource designated as the auth model is declared after a resource that depends on it in the main raml file, then config.registry.auth_model is not properly populated and the server will crash on startup.
Fix: Added an additional check when the model already exists to see if the model is designated as the auth model.