diff --git a/endpoints/api/organization.py b/endpoints/api/organization.py index dda11bf36..9cb6a267a 100644 --- a/endpoints/api/organization.py +++ b/endpoints/api/organization.py @@ -299,6 +299,7 @@ def app_view(application): @resource('/v1/organization//applications') +@internal_only class OrganizationApplications(ApiResource): """ Resource for managing applications defined by an organizations. """ schemas = { @@ -323,11 +324,11 @@ class OrganizationApplications(ApiResource): 'description': 'The URI for the application\'s homepage', }, 'description': { - 'type': ['string', 'null'], + 'type': 'string', 'description': 'The human-readable description for the application', }, 'gravatar_email': { - 'type': ['string', 'null'], + 'type': 'string', 'description': 'The e-mail address of the gravatar to use for the application', } }, @@ -382,6 +383,7 @@ class OrganizationApplications(ApiResource): @resource('/v1/organization//applications/') +@internal_only class OrganizationApplicationResource(ApiResource): """ Resource for managing an application defined by an organizations. """ schemas = { @@ -408,11 +410,11 @@ class OrganizationApplicationResource(ApiResource): 'description': 'The URI for the application\'s homepage', }, 'description': { - 'type': ['string', 'null'], + 'type': 'string', 'description': 'The human-readable description for the application', }, 'gravatar_email': { - 'type': ['string', 'null'], + 'type': 'string', 'description': 'The e-mail address of the gravatar to use for the application', } },