Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 307 for swagger (0.11 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller_test.go

    		t.t.Error(err)
    	}
    	swagger := &spec.Swagger{}
    	if err := swagger.UnmarshalJSON(body); err != nil {
    		t.t.Error(err)
    	}
    	return swagger
    }
    
    func (t *testEnv) expectPath(swagger *spec.Swagger, path string) {
    	if _, ok := swagger.Paths.Paths[path]; !ok {
    		t.t.Errorf("Expected path %s to exist in OpenAPI", path)
    	}
    }
    
    func (t *testEnv) expectNoPath(swagger *spec.Swagger, path string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 17:10:53 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-docs-ui-assets.md

    **Swagger UI** uses the files:
    
    * <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui-bundle.js" class="external-link" target="_blank">`swagger-ui-bundle.js`</a>
    * <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css" class="external-link" target="_blank">`swagger-ui.css`</a>
    
    And **ReDoc** uses the file:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/README.md

    `swagger.json` contains static openapi definitions needed to build models for custom resource types.
    
    It was created by removing all path and non-objectmeta/int-or-string definitions from 
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 02 16:17:19 UTC 2021
    - 259 bytes
    - Viewed (0)
  4. docs/de/docs/how-to/custom-docs-ui-assets.md

    **Swagger UI** verwendet folgende Dateien:
    
    * <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui-bundle.js" class="external-link" target="_blank">`swagger-ui-bundle.js`</a>
    * <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css" class="external-link" target="_blank">`swagger-ui.css`</a>
    
    Und **ReDoc** verwendet diese Datei:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go

    func (c *Controller) updateSpecLocked() {
    	specList := make([]cached.Value[*spec.Swagger], 0, len(c.specsByName))
    	for crd := range c.specsByName {
    		specList = append(specList, c.specsByName[crd].mergedVersionSpec)
    	}
    
    	cache := cached.MergeList(func(results []cached.Result[*spec.Swagger]) (*spec.Swagger, string, error) {
    		localCRDSpec := make([]*spec.Swagger, 0, len(results))
    		for k := range results {
    			if results[k].Err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    
    def test_swagger_ui_html(client: TestClient):
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js" in response.text
        assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" in response.text
    
    
    def test_swagger_ui_oauth2_redirect_html(client: TestClient):
        response = client.get("/docs/oauth2-redirect")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. docs/uk/docs/index.md

    Ви побачите автоматичну інтерактивну API документацію (створену завдяки <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank">Swagger UI</a>):
    
    ![Swagger UI](https://fastapi.tiangolo.com/img/index/index-01-swagger-ui-simple.png)
    
    ### Альтернативні документації API
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. docs_src/custom_docs_ui/tutorial002.py

    async def custom_swagger_ui_html():
        return get_swagger_ui_html(
            openapi_url=app.openapi_url,
            title=app.title + " - Swagger UI",
            oauth2_redirect_url=app.swagger_ui_oauth2_redirect_url,
            swagger_js_url="/static/swagger-ui-bundle.js",
            swagger_css_url="/static/swagger-ui.css",
        )
    
    
    @app.get(app.swagger_ui_oauth2_redirect_url, include_in_schema=False)
    async def swagger_ui_redirect():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge.go

    // user-defined CRDs. None of the input is mutated, but input and output share data structures.
    func MergeSpecs(staticSpec *spec.Swagger, crdSpecs ...*spec.Swagger) (*spec.Swagger, error) {
    	// create shallow copy of staticSpec, but replace paths and definitions because we modify them.
    	specToReturn := *staticSpec
    	if staticSpec.Definitions != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 16 14:08:01 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. docs/ru/docs/index.md

    Вы увидите автоматическую интерактивную документацию API (предоставленную <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank">Swagger UI</a>):
    
    ![Swagger UI](https://fastapi.tiangolo.com/img/index/index-01-swagger-ui-simple.png)
    
    ### Альтернативная документация по API
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top