def METHOD_NAME(model_id):
    model = get_specs(MODELS).get(model_id)
    if not model:
        abort(404)
    r = make_response(model['schema'])
    r.headers['Content-Type'] = 'application/json'
    return r