Ends in:
7 DAYS
21 HRS
0 MIN
51 SEC
Ends in:
7 D
21 H
0 M
51 S
Open Closed

how to add application as area in default API route #672


User avatar
0
vishalnikam created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.0.4
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

How to add application name in path root.

example : default route is /api/account/registration and need somthing like /myApp/api/account/registration

we have to add application under same custom domain final url will be like https://www.myapplication.com/myApp/api/account/registration

Please suggest. same need to be done for Identity service


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    If changing the route of APi will break the angular package etc, I suggest you always change your own api instead of the module.

  • User Avatar
    0
    vishalnikam created

    Ok. how to ignore core module api like AbpApiDefinition, AbpApplicationConfiguration and AbpTenant

    from swagger. like I have created module or seperate service using abp new Acme.InvoiceManagement -t module-pro but dont wont core APIs as we have in ABP module service.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You should not change these, you can think of these as the standards of the framework.

    But you can check this to learn how to remove some ApiDescriptions from swagger:

    https://github.com/abpframework/abp/issues/6251#issuecomment-729660888

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06