@expose('<STR_LIT>')<EOL><INDENT>@protect()<EOL>@safe<EOL>def get(self, version):<DEDENT>
version_found = False<EOL>api_spec = self._create_api_spec(version)<EOL>for base_api in current_app.appbuilder.baseviews:<EOL><INDENT>if isinstance(base_api, BaseApi) and base_api.version == version:<EOL><INDENT>base_api.add_api_spec(api_spec)<EOL>version_found = True<EOL><DEDENT><DEDENT>if version_found:<EOL><INDENT>return self.response(<NUM_LIT:200>, **api_spec.to_dict())<EOL><DEDENT>else:<EOL><INDENT>return self.response_404()<EOL><DEDENT>
Endpoint that renders an OpenApi spec for all views that belong
            to a certain version
        ---
        get:
          parameters:
          - in: path
            schema:
              type: string
            name: version
          responses:
            200:
              description: Item from Model
              content:
                application/json:
                  schema:
                    type: object
            404:
              $ref: '#/components/responses/404'
            500:
              $ref: '#/components/responses/500'