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

Documentations for 3xx and 4xx is needed. #52

Open
hariprasadraja opened this issue Apr 15, 2018 · 0 comments
Open

Documentations for 3xx and 4xx is needed. #52

hariprasadraja opened this issue Apr 15, 2018 · 0 comments

Comments

@hariprasadraja
Copy link

hariprasadraja commented Apr 15, 2018

Hi,

I have been using yagg for generating the API documentation. I found API are generating only for success cases. I have found this piece of code. Here you are allowing only for status codes ranges in 2XX.

func IsStatusCodeValid(code int) bool  {
	if code >= 200 && code < 300 {
		return true
	} else {
		return false
	}
}

please rewrite it to allow 3xx and 4xx

@hariprasadraja hariprasadraja changed the title Documentations for 3xx and 4xx is not needed. Documentations for 3xx and 4xx is needed. Apr 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants