You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Json properties are usually defined using camelCase but dotnet compiler takes issue with using camelCase for enum definitions:
Warning (active) CS8981 The type name 'attributes' only contains lower-cased ascii characters. Such names may become reserved for the language.
The enum should have been named using PascalCase to adhere to C# naming conventions.
Open API v3 schema (from Atlassian):
"GlobalScopeBean": {
"additionalProperties": false,
"properties": {
"attributes": {
"description": "Defines the behavior of the option in the global context.If notSelectable is set, the option cannot be set as the field's value. This is useful for archiving an option that has previously been selected but shouldn't be used anymore.If defaultValue is set, the option is selected by default.",
"items": {
"enum": [
"notSelectable",
"defaultValue"
],
"type": "string"
},
"type": "array",
"uniqueItems": true
}
},
"type": "object"
},
Json properties are usually defined using camelCase but dotnet compiler takes issue with using camelCase for enum definitions:
The enum should have been named using PascalCase to adhere to C# naming conventions.
Open API v3 schema (from Atlassian):
https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#about
The text was updated successfully, but these errors were encountered: