Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-2982

--skip-swagger-validations should have its opposite parameter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 2.6 ER1
    • Toolbox
    • None
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Hide
      $ 3scale activedocs list 3scale
      ID	NAME	SYSTEM_NAME	SERVICE_ID	PUBLISHED	SKIP_SWAGGER_VALIDATIONS	CREATED_ATUPDATED_AT
      100	tbdoc	tbdoc	505	true	true	2019-07-08T11:41:53Z	2019-07-08T11:59:28Z
      
      $ 3scale activedocs apply 3scale tbdoc -d "sdfsdf"
      Applied ActiveDocs id: 100
      
      $ 3scale activedocs list 3scale
      ID	NAME	SYSTEM_NAME	SERVICE_ID	PUBLISHED	SKIP_SWAGGER_VALIDATIONS	CREATED_ATUPDATED_AT
      100	tbdoc	tbdoc	505	true	false	2019-07-08T11:41:53Z	2019-07-08T12:20:46Z
      
      Show
      $ 3scale activedocs list 3scale ID NAME SYSTEM_NAME SERVICE_ID PUBLISHED SKIP_SWAGGER_VALIDATIONS CREATED_ATUPDATED_AT 100 tbdoc tbdoc 505 true true 2019-07-08T11:41:53Z 2019-07-08T11:59:28Z $ 3scale activedocs apply 3scale tbdoc -d "sdfsdf" Applied ActiveDocs id: 100 $ 3scale activedocs list 3scale ID NAME SYSTEM_NAME SERVICE_ID PUBLISHED SKIP_SWAGGER_VALIDATIONS CREATED_ATUPDATED_AT 100 tbdoc tbdoc 505 true false 2019-07-08T11:41:53Z 2019-07-08T12:20:46Z

      User should use parameter "--skip-swagger-validations" in every "apply" command because otherwise any change will change "SKIP_SWAGGER_VALIDATIONS" to FALSE.

      This is side effect and it should be removed. Also parameter "-skip-swagger-validations" should have opposite parameter, like "hide" and "-publish".

              Unassigned Unassigned
              mkudlej@redhat.com Martin Kudlej
              Miguel Soriano Miguel Soriano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: