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

Add support for controlling area name #58

Open
cjakobsen opened this issue Jan 20, 2021 · 1 comment
Open

Add support for controlling area name #58

cjakobsen opened this issue Jan 20, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@cjakobsen
Copy link
Contributor

Problem

The concept of an area in ATC generated code is used to control names of controllers, folders etc. This is today based solely on the root element of the api path. In some cases this is not ideal and this is a request to be able to control this.

An example is if multiple services are serving part of an api that share a common root element and it is actually a sub-element of the path that logically defines the area for each service.

Idea for solution

Be able to specify area name in the OpenApi file for each operation. Using the OpenApi spec for this will make it very clear how the area is linked to the generated code.

@MrAndersPedersen
Copy link

@cjakobsen to update issue and set up meeting to clarify further together with @davidkallesen and to be presented on a CodeJam session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants