Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More cli support #18

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

More cli support #18

wants to merge 17 commits into from

Conversation

outscale-mgo
Copy link
Contributor

No description provided.

Signed-off-by: Matthias Gatto <[email protected]>
Signed-off-by: Matthias Gatto <[email protected]>
Signed-off-by: Matthias Gatto <[email protected]>
Signed-off-by: Matthias Gatto <[email protected]>
Signed-off-by: Matthias Gatto <[email protected]>
For example, if the API has a call named `CreatePony`, the corresponding component should be located at `#/components/schemas/CreatePonyRequest`.

You can change the suffix of functions using `./configure --function-suffix FUNCTION_SUFFIX`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can modify the suffix of functions by using the --function-suffix=FUNCTION_SUFFIX option with the ./configure command.

--api-script='curl -s https://ponyapi.yolo | yq $(YQ_ARG) | sed "s/Input/Request/" > osc-api.json'
--function-suffix Input
```
Look for Function named XInput instead of XRequest.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Search for the function named XInput instead of XRequest.

@outscale-rce
Copy link

This pull request has grown somewhat large.

Signed-off-by: Matthias Gatto <[email protected]>
Signed-off-by: Matthias Gatto <[email protected]>
Signed-off-by: Matthias Gatto <[email protected]>
Signed-off-by: Matthias Gatto <[email protected]>
Signed-off-by: Matthias Gatto <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants