superfaceai / spec

The Comlink Specification. Comlink is a new interface description and integration language build self-integrating applications.
https://superface.ai/docs/comlink/specification
MIT License
11 stars 1 forks source link

Provider name should not allow numbers #30

Open jnv opened 3 years ago

jnv commented 3 years ago

This seems to be missing from the internal documentation and I didn't participate in previous discussions, but @zdne confirmed that provider name (identifier) should allow only for lowercase letters and dashes, so this pattern is not correct:

https://github.com/superfaceai/spec/blob/555d50a5bb7a1e5a3a2949ac0731518b4b7323bb/spec/draft/provider-spec.yaml#L4-L6

Could you please confirm and check it? Notion page and #29 need to be updated as well.

Just for context, is this intended to lower the risk of typo attacks (e.g. google vs. goog1e)?