apigear-io / cli

The ApiGear client as go project
https://apigear.io
MIT License
1 stars 2 forks source link

rename operation to method #139

Open jryannel opened 6 months ago

jryannel commented 6 months ago

Always when I try to write the word operation I start with the word method. I feel this is for a long time something we should have changed.

When looking into OOP methods are the members of an object. It should feel more natural for users.

We can still support operations, but mark them a deprecated.

interfaces:
  - name: A
    operations:
      - name: add

would become:

interfaces:
  - name: A
    methods:
      - name: add