We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Inconsistencies between documentation and examples

Daniel Madsen
Mega Sage

I have been digging into the Fluent examples on github, and I have found some inconsistencies between the examples and the documentation in multiple places. For example:

 

sdk-examples/restapi-sample/src/fluent/rest-api-module.now.ts at main · ServiceNow/sdk-examples

 

In the example code, it is using the property "service_id", which is in snake case. However, the documentation states that it should be in camel case (serviceId):

 

Scripted REST API - ServiceNow Fluent

 

I have found multiple occasions where the properties in the sample code did not match the documentation (camel case in the documentation, snake case in the examples). I believe it should be consistent of course, but I am curious if it makes a difference?

0 REPLIES 0