Skip to content

Commit

Permalink
YDA-6066: Adjust OpenAPI script for Py3
Browse files Browse the repository at this point in the history
Update generate-openapi script so that it works
correctly with Python 3.

This includes::
- Extracting functions to make code easier to understand.
- Instead of loading the ruleset and using custom instrumentation to
  inspect it, collect properties of API rules using the built-in
  AST module. This removes the need to update the OpenAPI script as
  dependencies change, since we no longer need to ensure we have stub
  code in place to be able to run the instrumentation.
  • Loading branch information
stsnel committed Dec 23, 2024
1 parent bd087d4 commit 92a8169
Showing 1 changed file with 275 additions and 246 deletions.
Loading

0 comments on commit 92a8169

Please sign in to comment.