You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To support managing https://swagger.io/docs/specification/links/ sanely, we should add a feature to openapi-interfaces that will allow us to store the link resolution info at the content definition type (interface?) and populate it at any paths that given interface is resolved
interfaces:
Scope:
$includes: "Resource"description: Instructions on how to produce output data.members:
resource_type:
schema:
example: scopesid:
schema:
example: 8e63467d-9478-4fba-b05a-d5e98fd06d12preview:
required: falsemutable: trueschema:
type: booleanexample: truedescription: | A preview scope provides only a limited number of output records, but it is not billed.population:
required: trueinitializable: truemutable: trueschema:
$interface: "ScopePopulation#SameAsInterface"payload:
required: trueinitializable: trueschema:
$interface: "ScopePayload#SameAsInterface"# We would love to be able to do this but we need to figure out the details# links:# population_cohorts:# operationId: getScopePopulationCohorts# parameters:# scope_id: "#/id"
We should then auto populate the links info anywhere a Scope is resolved
/scopes/{scope_id}:
get:
tags:
- scopessummary: Retrieve a scopedescription: Get details on a specific scopeoperationId: getScopeparameters:
- name: scope_idin: pathdescription: The UUID of a scoperequired: trueschema:
type: stringformat: uuidresponses:
200:
description: Information about the scopecontent:
application/json:
schema:
$interface: "Scope"links: # openapi-interfaces should set links herepopulationCohorts:
operationId: getScopePopulationCohortsparameters:
scope_id: $response.body#/idpopulationExclusionCohorts:
operationId: getScopePopulationExclusionCohortsparameters:
scope_id: $response.body#/idpayloadOutcomes:
operationId: getScopePayloadOutcomesparameters:
scope_id: $response.body#/idpayloadPersonaSets:
operationId: getScopePayloadPersonaSetsparameters:
scope_id: $response.body#/id
The text was updated successfully, but these errors were encountered:
To support managing https://swagger.io/docs/specification/links/ sanely, we should add a feature to openapi-interfaces that will allow us to store the link resolution info at the content definition type (interface?) and populate it at any paths that given interface is resolved
We should then auto populate the
links
info anywhere a Scope is resolvedThe text was updated successfully, but these errors were encountered: