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

Handle route versionning #13

Open
Atinux opened this issue May 19, 2018 · 0 comments
Open

Handle route versionning #13

Atinux opened this issue May 19, 2018 · 0 comments

Comments

@Atinux
Copy link
Contributor

Atinux commented May 19, 2018

Version

v0.6.10

Reproduction link

https://github.com/terrajs/mono-doc

Steps to reproduce

Add a route with a version:

module.exports = [
	{
		method: 'POST',
		path: '/todos',
		version: 'v1',
		validation: todosValidation.createTodo,
		handler: todosCtrl.createTodo,
		documentation: {
			name: 'Create a Todo',
			description: 'Add a new todo to your list'
		}
	}
]

What is expected ?

Showing the correct route to call the API.

What is actually happening?

Screen Shot 2018-05-19 at 10.03.09.png

This bug report is available on Terra JS community (#c1)
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

1 participant