code: def test_spec_bypass_endpoints(app):
      bp = APIBlueprint(
          "foo", __name__, static_folder="static", url_prefix="/foo"
      )
      app.register_blueprint(bp)
  
      spec = app._get_spec()
      assert "/static" not in spec["paths"]
      assert "/foo/static" not in spec["paths"]
      assert "/docs" not in spec["paths"]
      assert "/openapi.json" not in spec["paths"]
      assert "/docs/oauth2-redirect" not in spec["paths"]
  
imports: import json
  import pytest
  from flask import request
  from openapi_spec_validator import validate_spec
  from .schemas import Bar
  from .schemas import Baz
  from .schemas import Foo
  from apiflask import APIBlueprint
  from apiflask import Schema
  from apiflask.commands import spec_command
  from apiflask.fields import Integer
label_desc: Use image node_id 6 for calling a global function with example usage: test_spec_bypass_endpoints(app) without return types