MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / get_schema

Method get_schema

api/api/openapi.py:60–67  ·  view source on GitHub ↗
(
        self, request: Request | None = None, public: bool = False
    )

Source from the content-addressed store, hash-verified

58 super().__init__(**kwargs) # type: ignore[no-untyped-call]
59
60 def get_schema(
61 self, request: Request | None = None, public: bool = False
62 ) -> dict[str, Any]:
63 schema: dict[str, Any] = super().get_schema(request, public) # type: ignore[no-untyped-call]
64 return {
65 "$schema": "https://spec.openapis.org/oas/3.1/dialect/base",
66 **schema,
67 }
68
69
70class MCPSchemaGenerator(SchemaGenerator):

Callers 1

get_schemaMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected