@@ -310,6 +310,16 @@ func (g *GeneratorEnvironment) Accept(visitor GeneratorEnvironmentVisitor) error
310310 }
311311}
312312
313+ type GeneratorMetadata struct {
314+ Description * string `json:"description,omitempty"`
315+ Authors []* GeneratorMetadataAuthor `json:"authors,omitempty"`
316+ }
317+
318+ type GeneratorMetadataAuthor struct {
319+ Name string `json:"name"`
320+ Email string `json:"email"`
321+ }
322+
313323type GeneratorOutputConfig struct {
314324 Path string `json:"path"`
315325 SnippetFilepath * string `json:"snippetFilepath,omitempty"`
@@ -988,6 +998,7 @@ type PostmanGithubPublishInfo struct {
988998 WorkspaceIdEnvironmentVariable EnvironmentVariable `json:"workspaceIdEnvironmentVariable"`
989999}
9901000
1001+ // This should effectively be deprecated in favor of a more specific configuration per-output mode (pypi, maven, etc.).
9911002type PublishingMetadata struct {
9921003 PackageDescription * string `json:"package_description,omitempty"`
9931004 PublisherEmail * string `json:"publisher_email,omitempty"`
@@ -1000,13 +1011,23 @@ type PypiGithubPublishInfo struct {
10001011 PackageName string `json:"packageName"`
10011012 UsernameEnvironmentVariable EnvironmentVariable `json:"usernameEnvironmentVariable"`
10021013 PasswordEnvironmentVariable EnvironmentVariable `json:"passwordEnvironmentVariable"`
1014+ PypiMetadata * PypiMetadata `json:"pypiMetadata,omitempty"`
1015+ }
1016+
1017+ type PypiMetadata struct {
1018+ Description * string `json:"description,omitempty"`
1019+ Authors []* GeneratorMetadataAuthor `json:"authors,omitempty"`
1020+ Keywords []string `json:"keywords,omitempty"`
1021+ DocumentationLink * string `json:"documentationLink,omitempty"`
1022+ HomepageLink * string `json:"homepageLink,omitempty"`
10031023}
10041024
10051025type PypiRegistryConfig struct {
1006- RegistryUrl string `json:"registryUrl"`
1007- Username string `json:"username"`
1008- Password string `json:"password"`
1009- PackageName string `json:"packageName"`
1026+ RegistryUrl string `json:"registryUrl"`
1027+ Username string `json:"username"`
1028+ Password string `json:"password"`
1029+ PackageName string `json:"packageName"`
1030+ PypiMetadata * PypiMetadata `json:"pypiMetadata,omitempty"`
10101031}
10111032
10121033type RemoteGeneratorEnvironment struct {
0 commit comments