dlt-hub / dlt-init-openapi

MIT License
20 stars 3 forks source link

Fix last resort resource naming #39

Closed sh-rp closed 6 months ago

sh-rp commented 6 months ago

In the case where we fall back to the operation_id for the resource names, the parser actually inserts a value for the operation_id if there is none present, we should probably not do this in the parser but the detector and also make sure that no special characters are in there (which they are now, because the endpoint path is used for this fallback). Best option: http operation name + sanitized full path with varnames still in the path.