Currently the requirement /req/collection-output/response-definition defines response as such:
name: response
in: query
required: false
schema:
type: string
enum: [ collection ]
and I had removed landingPage from the enum that was still there in response.yaml.
However, there is still a mention of redirecting to a landing page in rExecuteCollectionRedirect.yaml.
Can we confirm that we removed that landingPage response mode, and so we should remove those mentions of landing page redirect and response=landingPage there? The only capability we are losing is for clients that can only be pointed to a landing page rather than directly to a collection.
For returning multiple collections, that can now be done through results.yaml, either as separate one { "collection": ... } value for multiple outputs, or as multiple { "collection": ... } values for one or more outputs. We already have /req/collection-output/response-response-one and /req/collection-output/response-response-many, but now that we've added maxOccurs to outputs, I think the response-one should only apply when maxOccurs=1, so that the collection redirect is only when requesting one output and maxOccurs=1.
(also the draft seems to not be generated properly right now, maybe #571 will fix that)
Currently the requirement
/req/collection-output/response-definitiondefines response as such:and I had removed
landingPagefrom the enum that was still there in response.yaml.However, there is still a mention of redirecting to a landing page in rExecuteCollectionRedirect.yaml.
Can we confirm that we removed that
landingPageresponse mode, and so we should remove those mentions of landing page redirect andresponse=landingPagethere? The only capability we are losing is for clients that can only be pointed to a landing page rather than directly to a collection.For returning multiple collections, that can now be done through results.yaml, either as separate one
{ "collection": ... }value for multiple outputs, or as multiple{ "collection": ... }values for one or more outputs. We already have/req/collection-output/response-response-oneand/req/collection-output/response-response-many, but now that we've addedmaxOccursto outputs, I think theresponse-oneshould only apply whenmaxOccurs=1, so that the collection redirect is only when requesting one output and maxOccurs=1.(also the draft seems to not be generated properly right now, maybe #571 will fix that)