-
Notifications
You must be signed in to change notification settings - Fork 559
Closed
Description
Commentary on this so far:
- OpenAPI spec for official registry API #3 (comment)
- OpenAPI spec for official registry API #3 (comment)
At minimum, I think we need to make sure we can model all the official reference servers and their corresponding registries (pypi, npm, docker). We should also make sure we support the most obvious package registries for any official SDK's language (e.g. Rubygems, etc.).
Options we seem to have:
- Keep a pretty complex
commandstructure as is in the OpenAPI spec at the time of this writing, plus extend it somehow with registry package version so it we can are not hardcodingpackage@latestinto the command. This field unwieldly. - Remove
command.nameand simplify to justarguments, eliminating the differentiation betweennamed_arguments,positional_arguments, andsubcommand. It's probably that docker / mounts need some sort of carve-out for this. Are there other cases where this will be a problem? - Some sort of templating solution
@connor4312 @sandy081 it seems like you have done a fair bit of exploration here, so I'm inclined to let you drive this to a conclusion. Sounds like you feel pretty strongly on (2)?
Metadata
Metadata
Assignees
Labels
No labels