Skip to content

Instantly share code, notes, and snippets.

@alikins
Created August 11, 2020 18:38
Show Gist options
  • Save alikins/5a0ba620f878140ee41eecf9414facf3 to your computer and use it in GitHub Desktop.
Save alikins/5a0ba620f878140ee41eecf9414facf3 to your computer and use it in GitHub Desktop.
more explicit pulp openapi
diff --git pulpcore/openapi/__init__.py pulpcore/openapi/__init__.py
index 315a40ccf..1d8bd704a 100644
--- pulpcore/openapi/__init__.py
+++ pulpcore/openapi/__init__.py
@@ -281,7 +281,7 @@ def parse(self, request, public):
schema = view.schema
- path = self.convert_endpoint_path_params(path, view, schema)
+ # path = self.convert_endpoint_path_params(path, view, schema)
# beware that every access to schema yields a fresh object (descriptor pattern)
operation = schema.get_operation(path, path_regex, method, self.registry)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment