Skip to content

Commit

Permalink
Merge branch 'master' of github.com:KnowledgeCaptureAndDiscovery/OBA
Browse files Browse the repository at this point in the history
  • Loading branch information
mosoriob committed May 26, 2020
2 parents 22cf7cb + 0c34833 commit 98b4620
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/mapping.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The current mapping between OWL and OpenAPI specification (OAS) supported by OBA can be seen below.

!!! warning
We are currently working on improving the mapping with complex axiomatization of domains and ranges and other property annotations (minimum and maximum cardinality, etc.)
We are currently working on improving the mapping with complex axiomatization of domains and ranges and other property annotations (minimum and maximum cardinality, etc.). The new version can be seen in the following URL: https://github.com/oeg-upm/OWL-To-OAS-Specification

**Namespaces** used in this document:

Expand Down
12 changes: 6 additions & 6 deletions docs/test.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Running API tests

The resultant server code contains the tests to evaluate the status of your API and Knowledge Graph.
The resultant server code contains the tests to evaluate the status of your API against a knowledge graph.

## Usage

Expand All @@ -16,18 +16,18 @@ And run it:
$ tox
```

You can modify the test requirements at `src/test-requirements.txt`.
You can modify the test requirements in `src/test-requirements.txt`.

## Editing

The tests located at `server/openapi_server/test/`. You can read the following [docuentation](https://nose.readthedocs.io/en/latest/testing.html) to understand how to edit them
The tests are located in `server/openapi_server/test/`. You can read the following [documentation](https://nose.readthedocs.io/en/latest/testing.html) to understand how to edit them.

### Configure


There are two useful option to test your API and Knowledge Graph:
There are two useful options to test your API against a knowledge graph:

- validate_responses can be useful to detect invalid properties or types on your Knowledge Graph.
- validate_responses can be useful to detect invalid properties or types on your knowledge graph.
- strict_validation can be helpful to see an invalid request.

```
Expand All @@ -41,7 +41,7 @@ There are two useful option to test your API and Knowledge Graph:



You can edit these option at `server/openapi_server/test/__init__.py`
You can edit these option in `server/openapi_server/test/__init__.py`

```python
def create_app(self):
Expand Down

0 comments on commit 98b4620

Please sign in to comment.