Skip to content

fix: Remove top-level paths for code lists - #178

Open
daogrady wants to merge 8 commits into
mainfrom
fix/auto-exposed-composition
Open

fix: Remove top-level paths for code lists#178
daogrady wants to merge 8 commits into
mainfrom
fix/auto-exposed-composition

Conversation

@daogrady

@daogrady daogrady commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Fixes #173
Specifically addresses behaviour reported in a comment, whereas the original issue was addressed in #177

Before fix:
routes for OrderItems code list exist on top level

After fix:
routes are no longer available on top level, but can be accessed via the navigation paths POST /Orders({ID})/items etc.

@daogrady daogrady changed the title Consider codelists readonly Remove top-level paths for code lists Aug 26, 2026
@daogrady daogrady changed the title Remove top-level paths for code lists fix: Remove top-level paths for code lists Aug 26, 2026
@daogrady
daogrady marked this pull request as ready for review August 26, 2026 05:46
@daogrady
daogrady requested a review from tim-sh August 26, 2026 05:46
@daogrady
daogrady enabled auto-merge (squash) August 26, 2026 05:48

@tim-sh tim-sh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good – just to be sure, one question, plus could you double-check that top-level GET paths for value-help code lists (e.g. Currencies) still work?

Comment thread lib/compile/index.js Outdated
@daogrady

Copy link
Copy Markdown
Contributor Author

could you double-check that top-level GET paths for value-help code lists (e.g. Currencies) still work?

Good catch. That was indeed incorrectly hidden, but is now shown again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] auto-exposed readonly entities contain POST/PATCH/DELETE in openAPI document

2 participants