CICD - How to upload method template using devportal API?

Not applicable

I'm working on CICD and I was able to upload the yaml file:
curl -X POST -H 'Authorization: Basic XXXXXXXXX' -H 'multipart/form-data;' -F api_definition=@swagger.yaml https://portal-dev.com/smartdocs/apis/models/my-model/import

but when I run the cron and render, It doesnt apply the template which I configure on its settings.

4719-fsagsagsa.png

and it uses the default template:

4720-fsagsagsa.png

Is there any service to upload this template?

1 2 201
2 REPLIES 2

@Flavio Magyver Figueroa Villarreal , Which template is it applying ? Default Template ? Even if you upload a template using API, How are you sure it doesn't apply default template again since you said you have already updated template before rendering the APIs.

Not applicable

yes, is applying default template but I have a customized template which I want to use, I was able to upload this template but when I run cron, it changes to default template.