bcquality/community/knowledge/web-services
waldo1001 39a5304b47 knowledge(web-services): under schema 2.0 an API enum field is a contract by member name, under 1.0 by caption
What an API page publishes for an enum field depends on the OData schema
version: member names under 2.0, the caption as Edm.String under 1.0, never
the ordinal. Custom APIs defaulted to 1.0 through BC 23 and to 2.0 from BC 24.
LLMs assert one carrier as universal and get one direction wrong.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-02 16:20:03 +02:00
..
api-enum-values-are-a-contract-by-name-not-ordinal.bad.al knowledge(web-services): under schema 2.0 an API enum field is a contract by member name, under 1.0 by caption 2026-09-02 16:20:03 +02:00
api-enum-values-are-a-contract-by-name-not-ordinal.good.al knowledge(web-services): under schema 2.0 an API enum field is a contract by member name, under 1.0 by caption 2026-09-02 16:20:03 +02:00
api-enum-values-are-a-contract-by-name-not-ordinal.md knowledge(web-services): under schema 2.0 an API enum field is a contract by member name, under 1.0 by caption 2026-09-02 16:20:03 +02:00