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

required parameter doesn't work #57

Closed
Metalzoid opened this issue Sep 3, 2024 · 2 comments · Fixed by #58
Closed

required parameter doesn't work #57

Metalzoid opened this issue Sep 3, 2024 · 2 comments · Fixed by #58
Labels
documentation Improvements or additions to documentation

Comments

@Metalzoid
Copy link
Contributor

Hey !

I found this bug :
When i try to add required parameter, i've this error : {missing-type-info}

My parameter :

    # @parameter APIKEY(header) [String!] Your admin APIKEY. Here, it's preconfigured for demo.

thanks

@a-chacon
Copy link
Owner

a-chacon commented Sep 3, 2024

hi @Metalzoid ! I am sorry, I have to update the documentation. The character ! is before the type. This changes when we introduce the support for deep structures. All the requirements are before the type for consistence.

So please try something like [!String] and give me feedback. I will leave this as a documentation issue.

@a-chacon a-chacon added the documentation Improvements or additions to documentation label Sep 3, 2024
@Metalzoid
Copy link
Contributor Author

Ok ! Yes it's good ! Sorry for that ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants