-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
In the openapi generate command, if the docs build/serve is getting components from local/dev workspace (found in provided or default --path), try looking if the plugin is available through a local pulp instance (via status) before generating the spec. If it is, get the spec from the instance. The generate command should accept a port option (default to 5001).
flowchart TD
A[Start: openapi generate] --> C{plugin available in dev workspace?}
C -- No --> D[Generate from managed repositories]
C -- Yes --> E[Check for local pulp instance status]
E --> F{Is pulp instance available?}
F -- No --> I[Generate from user repositories]
F -- Yes --> F2{Is the plugin available in the instance?}
F2 -- No --> I
F2 -- Yes --> G[Fetch from pulp instance]
G --> H[End: Generation complete]
D --> H
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels