apigee / apigee-api-catalog-drupal

Manage your API catalog within Drupal's content management approach
https://www.drupal.org/project/apigee_api_catalog
GNU General Public License v2.0
17 stars 16 forks source link

APIDoc field "name" is too short #38

Closed cnovak closed 5 years ago

cnovak commented 5 years ago

Is your feature request related to a problem? Please describe. We have specs with a name more than 50 chars, however the BaseFieldDefinition for field name has the setting max_length 50 characters (ergo the db field length to 50 chars also).

Describe the solution you'd like Change field to be 255 chars.

Steps to reproduce

  1. Enabled API Catalog module
  2. Create API Doc with a name larger than 50 chars
  3. The field will be truncated to 50 chars.

Source: https://community.apigee.com/questions/69668/drupal-8-apidoc-field-name-has-max-length-of-50-ch.html

jmburnz commented 5 years ago

In our case we get an exception because we're publishing via rest api and parsing the title field out the swagger - I could truncate it but those are business decisions above my pay grade :)

jacine commented 5 years ago

HI @jmburnz!!! 👋👋👋

jmburnz commented 5 years ago

HI @jmburnz!!! 👋👋👋

Wow, hi @jacine, long time no see 😄 👋