Unverified Commit 13d644f0 authored by Björn Grüning's avatar Björn Grüning Committed by GitHub
Browse files

Merge pull request #16141 from jmchilton/fix_optional_fields

[23.0] Fix optional fields being validated as missing in ts api
parents 8b14c965 c9109317
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4539,12 +4539,12 @@ export interface components {
             * Latest installed revision
             * @description Most recent version available on the tool shed
             */
            latest_installable_revision: string;
            latest_installable_revision?: string;
            /**
             * Repository deprecated
             * @description Repository has been depreciated on the tool shed
             */
            repository_deprecated: string;
            repository_deprecated?: string;
            /** Revision Update */
            revision_update: string;
            /** Revision Upgrade */
+4 −3
Original line number Diff line number Diff line
@@ -2306,13 +2306,14 @@ class ToolShedRepositoryChangeset(ToolShedRepository):


class InstalledRepositoryToolShedStatus(Model):
    # See https://github.com/galaxyproject/galaxy/issues/10453
    latest_installable_revision: str = Field(
    # See https://github.com/galaxyproject/galaxy/issues/10453 , bad booleans
    # See https://github.com/galaxyproject/galaxy/issues/16135 , optional fields
    latest_installable_revision: Optional[str] = Field(
        title="Latest installed revision", description="Most recent version available on the tool shed"
    )
    revision_update: str
    revision_upgrade: Optional[str]
    repository_deprecated: str = Field(
    repository_deprecated: Optional[str] = Field(
        title="Repository deprecated", description="Repository has been depreciated on the tool shed"
    )