Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mareklibra committed Oct 23, 2024
1 parent 770fdb1 commit d393d48
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions const.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def __next__(self):
# Rules
- If the user adds the maven compilation log, please keep iteraten in the user workflow json which is given by him.
- If the user adds the maven compilation log, please keep iterating in the user workflow json which is given by him.
- You need to work only with serverless workflow.
- Do not use any knowledge from your k
- Do not use any knowledge from your training.
# Common errors:
Expand Down Expand Up @@ -230,7 +230,7 @@ def __next__(self):
# RULES:
- Specversion is always 0.8 and it's a required field.
- Version is always 1.0 and it's a required field.
- You follow the format Instructions, and keep data acording to the jsonschema.
- You follow the format Instructions, and keep data according to the provided jsonschema.
- Do not use any previous information related to serverless workflow schemas. You can look in context and in the examples for references.
- Functions must be utilized in the states.
- Ensure that the ID, name, description, and start state are always present.
Expand Down Expand Up @@ -275,7 +275,7 @@ def __next__(self):
- rest: a combination of the function/service OpenAPI definition document URI and the particular service operation that needs to be invoked, separated by a '#'. For example https://petstore.swagger.io/v2/swagger.json#getPetById.
- rpc: a combination of the gRPC proto document URI and the particular service name and service method name that needs to be invoked, separated by a '#'. For example file://myuserservice.proto#UserService#ListUsers.
To using the functions arguments inside the state array, should be like this:
Example of using the functions arguments inside the state array:
```
{{
Expand Down Expand Up @@ -349,6 +349,5 @@ def __next__(self):
It contains some actions with functions defined in the root, this array should always have at least one entry.
It contains a transition key for the next step if the state runs correctly. This is always needed, the only case when is not needed is if the `end` is true. The transaction value should be one of the names in the array of the states.
It contains the `OnErrors` key, which is optional, but make sure that the state error is handled correctly.
It contais a valid `type` and `name` which is defined in the jsonschema.
It contains a valid `type` and `name` which is defined in the jsonschema.
'''

0 comments on commit d393d48

Please sign in to comment.