Overview

Title says it all mostly: let's also reorder the entries in both *.routing.ymland /openapi.yml to be alphabetically sorted.

(@traviscarden initially did that over at #3486203: Integrate saving sections with the backend: (de)normalize Pattern config entities using the client-side data model.)

Proposed resolution

Do it. Test it to ensure it does not regress.

Refactor the most obvious inconsistencies away with perfect confidence thanks to the new guardrails the aforementioned test coverage added:

User interface changes

None.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

wim leers created an issue. See original summary.

wim leers credited tedbow.

wim leers’s picture

@tedbow also raised this earlier today :)

wim leers’s picture

Issue tags: +clean-up

nexusnovaz made their first commit to this issue’s fork.

nexusnovaz’s picture

Are we going to sort .routing by the route name, or the path?

anjali rathod’s picture

Assigned: Unassigned » anjali rathod

wim leers’s picture

Thanks for pushing this forward! 😊

anjali rathod’s picture

Status: Active » Needs review
wim leers’s picture

Assigned: anjali rathod » wim leers
wim leers’s picture

#3499550: Support server-side massaging and validating of ComponentInputsForm values conflicted heavily with this. Rather than continuing to postpone this, I bit the bullet and redid parts of what @anjali rathod did.

Now doing a proper review!

wim leers’s picture

Title: Make all XB HTTP API routes consistently prefixed » Make all XB HTTP API routes consistently prefixed, ensure they all have OpenAPI specs, and tests to keep it so
Assigned: wim leers » Unassigned
Status: Needs review » Reviewed & tested by the community
Issue tags: +openapi

Conflicted with #3505774: Merge ApiPendingChangesController and ApiPublishAllController, clarify connection, but thanks to the unit test added here, fixing that was a breeze 😄

wim leers’s picture

Issue summary: View changes

wim leers’s picture

Status: Reviewed & tested by the community » Fixed
nagwani’s picture

Issue tags: +sprint
tedbow’s picture

It would good to get #3471064: OpenApi validation is not enforced because openapi.yml uses `patternProperties` which is not supported by our dependencies fixed next. We still have 3 large parts of openapi.yml spec that is getting ignored, and we will likely add more until we get this fixed(the problem got worse last month)

nagwani’s picture

Issue tags: -sprint

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.