EndpointDescriptor
Represents the static descriptor for an available endpoint and its mock responses.
This data class combines endpoint configuration and discovered response files to provide a complete, immutable view of an endpoint's mocking capabilities. It is primarily used by the UI layer to display available endpoints and their configurations.
Runtime selection state is intentionally excluded from this model. It changes on every user interaction and belongs in the UI layer paired with this descriptor, keeping this class safe to snapshot, store, and pass freely without going stale.
UI Usage
The UI uses this model to display:
Endpoint name and path
List of available mock responses
See also
Properties
List of discovered mock response files for this group + environment + endpoint combination
The effective endpoint configuration after override resolution
The EndpointConfig.id for this endpoint. Convenience accessor for EndpointKey.endpointId.
The EnvironmentConfig.id this descriptor was resolved for. Convenience accessor for EndpointKey.environmentId.
The ApiGroupConfig.id this endpoint belongs to. Convenience accessor for EndpointKey.groupId.
The EndpointKey uniquely identifying this endpoint within its group and environment