hngi/jl-python-mycustomer

Feature: Update Store

Closed this issue · 2 comments

Complete this section

What Functionality / Service / Endpoint would you like to add?
Update a store instance

Describe this Functionality / Service / Endpoint
Update the details of a store instance

Duplicate prevention
Have you checked that this issue has not been opened by anyone else?
Yes

Describe how to intend to go about adding this feature
Describe the approach you will take in adding this feature.

Slack username
Please include your slack username here

Additional context
Add any other context or screenshots about the feature request here.

If you're working on an endpoint

  • search the "swagger.yaml" file in the base dir for the enpoint you're working on, example: /store/update/{storeId}

  • then uncomment the section of the file under that endpoint

  • now change operationId of that endpoint to the full qualifier for your function,

    example: operationId: "updateStore" ==> operationId: endpoints.store.update

    where "update" is the function, "store" is the file (store.py) and "endpoints" is the directory containing that file

OR

if you haven't worked with swagger specifications before and are confused by this,

  • open the issue you want to work on

  • comment on the issue with the name of the function, the name of the script you'll open, and the full path relative to the base directory that it'll live

  • when I approve/assign the issue to you, I'll comment with
    the input your function must take and
    the expected output

I'll work on this.